Revision 45152 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/DefaultFeatureType.java
DefaultFeatureType.java | ||
---|---|---|
1035 | 1035 |
} |
1036 | 1036 |
switch (attr.getType()) { |
1037 | 1037 |
case DataTypes.GEOMETRY: |
1038 |
if (this.defaultGeometryAttributeName == null) { |
|
1038 |
if (this.defaultGeometryAttributeName == null |
|
1039 |
|| !StringUtils.equals(this.defaultGeometryAttributeName, attr.getName())) { |
|
1039 | 1040 |
this.defaultGeometryAttributeName = attr.getName(); |
1040 | 1041 |
} |
1041 | 1042 |
break; |
Also available in: Unified diff