Changeset 32992 in osm


Ignore:
Timestamp:
2016-09-12T14:21:45+02:00 (8 years ago)
Author:
malcolmh
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/src/s57/S57att.java

    r32907 r32992  
    616616    }
    617617
    618     public static Integer encodeAttribute(String attribute) { // Convert SCM attribute enumeration to S57 attribute code
    619         if (AttS57.containsKey(attribute))
    620             return AttS57.get(attribute);
    621         else if (AttIENC.containsKey(attribute))
    622             return AttIENC.get(attribute);
    623         return 0;
    624     }
    625 
    626618    public static Integer encodeAttribute(Att attribute) { // Convert SCM attribute enumeration to S57 attribute code
    627619        return AttS57.get(attribute) != 0 ? AttS57.get(attribute) : AttIENC.get(attribute);
Note: See TracChangeset for help on using the changeset viewer.