Revision 417 org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.buffer/src/main/java/org/gvsig/geoprocess/algorithm/buffer/BufferAlgorithm.java

View differences:

BufferAlgorithm.java
48 48
import org.gvsig.geoprocess.lib.api.GeoProcessLocator;
49 49
import org.gvsig.geoprocess.lib.sextante.AbstractSextanteGeoProcess;
50 50
import org.gvsig.geoprocess.lib.sextante.dataObjects.FlyrVectIVectorLayer;
51
import org.hsqldb.Types;
52 51

  
53 52
import es.unex.sextante.additionalInfo.AdditionalInfoNumericalValue;
54 53
import es.unex.sextante.core.Sextante;
......
278 277

  
279 278
        int[] types = null;
280 279
        if (infArea == 2) {
281
            types = new int[] { Types.INTEGER, Types.DOUBLE, Types.DOUBLE };
280
            types = new int[] { java.sql.Types.INTEGER, java.sql.Types.DOUBLE, java.sql.Types.DOUBLE };
282 281
            attrNames = new String[] { "FID", "FROM", "TO" };
283 282
        } else {
284
            types = new int[] { Types.INTEGER, Types.DOUBLE };
283
            types = new int[] { java.sql.Types.INTEGER, java.sql.Types.DOUBLE };
285 284
            attrNames = new String[] { "FID", "DIST" };
286 285
        }
287 286

  

Also available in: Unified diff