Revision 47478 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 | ||
---|---|---|
1096 | 1096 |
switch (attr.getType()) { |
1097 | 1097 |
case DataTypes.GEOMETRY: |
1098 | 1098 |
if (this.defaultGeometryAttributeName == null |
1099 |
|| !StringUtils.equals(this.defaultGeometryAttributeName, attr.getName())) {
|
|
1099 |
|| this.get(this.defaultGeometryAttributeName) == null) {
|
|
1100 | 1100 |
this.defaultGeometryAttributeName = attr.getName(); |
1101 | 1101 |
} |
1102 | 1102 |
break; |
Also available in: Unified diff