Revision 47667

View differences:

trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/DataTypeDetectorImpl.java
280 280
                    this.possibleDataType.possibleGeometryType, 
281 281
                    this.possibleDataType.possibleGeometrySubtype
282 282
            );
283
        } else if( this.detectedDataType.type == 0 ) {
283
        } else { //if( this.detectedDataType.type == 0 ) {
284 284
            this.detectedDataType.type = DataTypes.STRING;
285
            this.detectedDataType.displaySize = 10;
285
            this.detectedDataType.displaySize = Math.max(10,this.detectedDataType.displaySize);
286 286
        }
287 287
    }
288 288

  

Also available in: Unified diff