Revision 441
org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.splitlines/src/main/java/org/gvsig/geoprocess/algorithm/splitlines/SplitLinesAlgorithm.java | ||
---|---|---|
35 | 35 |
import es.unex.sextante.exceptions.GeoAlgorithmExecutionException; |
36 | 36 |
import es.unex.sextante.exceptions.RepeatedParameterNameException; |
37 | 37 |
import es.unex.sextante.outputs.OutputVectorLayer; |
38 |
import es.unex.sextante.vectorTools.intersection.IntersectionAlgorithm; |
|
39 | 38 |
|
40 | 39 |
/** |
41 | 40 |
* Lateral buffer algorithm |
... | ... | |
86 | 85 |
* @see es.unex.sextante.core.GeoAlgorithm#processAlgorithm() |
87 | 86 |
*/ |
88 | 87 |
public boolean processAlgorithm() throws GeoAlgorithmExecutionException { |
89 |
if(existsOutPutFile(IntersectionAlgorithm.RESULT, 0)) {
|
|
88 |
if(existsOutPutFile(SplitLinesAlgorithm.RESULT, 0)) {
|
|
90 | 89 |
throw new GeoAlgorithmExecutionException(getTranslation("file_exists")); |
91 | 90 |
} |
92 | 91 |
|
Also available in: Unified diff