Revision 319 org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.dissolve/src/main/java/org/gvsig/geoprocess/algorithm/dissolve/DissolveAlgorithm.java
DissolveAlgorithm.java | ||
---|---|---|
86 | 86 |
* @see es.unex.sextante.core.GeoAlgorithm#processAlgorithm() |
87 | 87 |
*/ |
88 | 88 |
public boolean processAlgorithm() throws GeoAlgorithmExecutionException { |
89 |
long t1 = System.currentTimeMillis(); |
|
89 |
//long t1 = System.currentTimeMillis();
|
|
90 | 90 |
if(existsOutPutFile(DissolveAlgorithm.RESULT, 0)) { |
91 | 91 |
throw new GeoAlgorithmExecutionException(getTranslation("file_exists")); |
92 | 92 |
} |
... | ... | |
129 | 129 |
Sextante.addErrorToLog(e); |
130 | 130 |
return false; |
131 | 131 |
} |
132 |
long t2 = System.currentTimeMillis(); |
|
133 |
System.out.println(t2 - t1); |
|
132 |
//long t2 = System.currentTimeMillis(); |
|
133 |
//System.out.println(t2 - t1); |
|
134 |
if(getTaskMonitor().isCanceled()) |
|
135 |
return false; |
|
134 | 136 |
return true; |
135 | 137 |
} |
136 | 138 |
|
Also available in: Unified diff