Revision 43464

View differences:

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/AbstractSHPReader.java
96 96
    }
97 97

  
98 98
    public void checkNumVerticesOfLine(Line line) throws InvalidNumberOfPointsInLinearRingException {
99
        if( line == null ) {
100
            return;
101
        }
99 102
        if (line.getNumVertices() > 0 && line.getNumVertices() < 2) {
100 103
            if (this.fixLinearRings()) {
101 104
                Point p = line.getVertex(line.getNumVertices() - 1);

Also available in: Unified diff