Revision 44581 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/RecentUsedsAttributesImpl.java
RecentUsedsAttributesImpl.java | ||
---|---|---|
38 | 38 |
public List<FeatureAttributeDescriptor> getAttributes(FeatureType featureType) { |
39 | 39 |
List<FeatureAttributeDescriptor> r = new ArrayList<>(); |
40 | 40 |
for (String name : this.getNames(featureType)) { |
41 |
r.add(featureType.getAttributeDescriptor(name)); |
|
41 |
FeatureAttributeDescriptor attrRecendUsed = featureType.getAttributeDescriptor(name); |
|
42 |
if (attrRecendUsed != null) { |
|
43 |
r.add(attrRecendUsed); |
|
44 |
} |
|
42 | 45 |
} |
43 | 46 |
return r; |
44 | 47 |
} |
Also available in: Unified diff