Revision 42876 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.file/org.gvsig.fmap.dal.file.shp/src/main/java/org/gvsig/fmap/dal/store/shp/utils/SHPMultiPointWriter.java

View differences:

SHPMultiPointWriter.java
110 110
     * @param coordinate
111 111
     */
112 112
    private void putExtraCoordinateValuesInBuffer(ByteBuffer buffer, int coordinate) {
113
        double min = Double.MAX_VALUE;
114
        double max = Double.MIN_VALUE;
113
        double min = Double.POSITIVE_INFINITY;
114
        double max = Double.NEGATIVE_INFINITY;
115 115
        List<Double> values = new ArrayList<Double>();
116 116
        for (int i = 0; i < numpoints; i++) {
117 117
            Point point = (Point) multipoint.getPrimitiveAt(i);

Also available in: Unified diff