/[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

branches/1.0-gt2-2.6/src/skrueger/geotools/AttributeMetadataMap.java revision 534 by alfonx, Fri Nov 20 10:28:01 2009 UTC trunk/src/skrueger/geotools/AttributeMetadataMap.java revision 692 by alfonx, Thu Feb 11 19:00:00 2010 UTC
# Line 34  public class AttributeMetadataMap extend Line 34  public class AttributeMetadataMap extend
34           **/           **/
35          private final List<String> langs;          private final List<String> langs;
36    
37          @Deprecated          /**
38             @Deprecated Use another constructor. AttributeMetadataMap is based on {@link Translation} and
39             *             would like to know how many languages are supported, so the
40             *             needed defaults can be created.
41             */
42          public AttributeMetadataMap() {          public AttributeMetadataMap() {
43                  langs = new ArrayList<String>();                  langs = new ArrayList<String>();
44                  langs.add(Translation.getActiveLang());                  langs.add(Translation.getActiveLang());
# Line 114  public class AttributeMetadataMap extend Line 118  public class AttributeMetadataMap extend
118           * {@link AttributeMetadata} on the fly.           * {@link AttributeMetadata} on the fly.
119           */           */
120          public AttributeMetadata get(final String localName) {          public AttributeMetadata get(final String localName) {
121                    if (localName == null) return null;
122                  return this.get(new NameImpl(localName));                  return this.get(new NameImpl(localName));
123          }          }
124    

Legend:
Removed from v.534  
changed lines
  Added in v.692

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26