/[schmitzm]/trunk/src/skrueger/geotools/AttributeMetadataMap.java
ViewVC logotype

Diff of /trunk/src/skrueger/geotools/AttributeMetadataMap.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 465 by alfonx, Tue Oct 13 16:20:37 2009 UTC revision 474 by alfonx, Thu Oct 15 14:04:16 2009 UTC
# Line 25  public class AttributeMetadataMap extend Line 25  public class AttributeMetadataMap extend
25    
26          public AttributeMetadata get(Name name) {          public AttributeMetadata get(Name name) {
27                  final AttributeMetadata attributeMetadata = super.get(name);                  final AttributeMetadata attributeMetadata = super.get(name);
28                  if (attributeMetadata == null) {                  if (attributeMetadata == null && name != null && !name.getLocalPart().trim().isEmpty()) {
29                          put(name,new AttributeMetadata(name));                          put(name,new AttributeMetadata(name));
30                          return super.get(name);                          return super.get(name);
31                  }                  }

Legend:
Removed from v.465  
changed lines
  Added in v.474

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26