Ignore:
Timestamp:
2015-02-15T19:38:42+01:00 (11 years ago)
Author:
malcolmh
Message:

Rules debugs

File:
1 edited

Legend:

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

    r30894 r30992  
    363363        }
    364364
    365         public static Att decodeAttribute(long attribute) {     // Convert S57 attribute code to OSeaM attribute enumeration
     365        public static Att decodeAttribute(long attribute) {     // Convert S57 attribute code to SCM attribute enumeration
    366366                Att att = S57Att.get((int)attribute);
    367367                return (att != null) ? att : Att.UNKATT;
    368368        }
    369369       
    370         public static Integer encodeAttribute(String attribute) {       // Convert OSeaM attribute enumeration to S57 attribute code
     370        public static Integer encodeAttribute(String attribute) {       // Convert SCM attribute enumeration to S57 attribute code
    371371                if (AttS57.containsKey(attribute))
    372372                        return AttS57.get(attribute);
     
    376376        }
    377377
    378         public static Integer encodeAttribute(Att attribute) {  // Convert OSeaM attribute enumeration to S57 attribute code
     378        public static Integer encodeAttribute(Att attribute) {  // Convert SCM attribute enumeration to S57 attribute code
    379379          return AttS57.get(attribute) != 0 ? AttS57.get(attribute) : AttIENC.get(attribute);
    380380        }
    381381
    382         public static String stringAttribute(Att attribute) {   // Convert OSeaM enumeration to OSeaM attribute string
     382        public static String stringAttribute(Att attribute) {   // Convert SCM enumeration to OSM attribute string
    383383                String str = AttStr.get(attribute);
    384384                return str != null ? str : "";
    385385        }
    386386       
    387         public static Att enumAttribute(String attribute, Obj obj) {    // Convert OSeaM attribute string to OSeaM enumeration
     387        public static Att enumAttribute(String attribute, Obj obj) {    // Convert OSM attribute string to SCM enumeration
    388388          if ((attribute != null) && !attribute.isEmpty()) {
    389389                        EnumMap<Obj, Att> map = StrAtt.get(attribute);
Note: See TracChangeset for help on using the changeset viewer.