Ignore:
Timestamp:
2013-01-29T21:49:08+01:00 (12 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

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

    r29209 r29215  
    246246       
    247247        public static Att enumAttribute(String attribute, Obj obj) {    // Convert OSeaM attribute string to OSeaM enumeration
    248           if ((attribute != null) && (attribute.length() > 0)) {
     248          if ((attribute != null) && !attribute.isEmpty()) {
    249249            for (Att att : AttStr.keySet()) {
    250250              if (AttStr.get(att).equals(attribute) && (verifyAttribute(obj, att) != Ver.NON ))
Note: See TracChangeset for help on using the changeset viewer.