Ignore:
Timestamp:
2015-05-18T23:34:11+02:00 (9 years ago)
Author:
Don-vip
Message:
  • global use of String.isEmpty()
  • Correctness - Method throws alternative exception from catch block without history
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletingTextField.java

    r8308 r8394  
    8181                try {
    8282                    Long.parseLong(str);
    83                     if (currentText.length() == 0) {
     83                    if (currentText.isEmpty()) {
    8484                        // we don't autocomplete on numbers
    8585                        super.insertString(offs, str, a);
Note: See TracChangeset for help on using the changeset viewer.