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/MainMenu.java

    r8380 r8394  
    10131013            }
    10141014            currentSearchText = searchTerm;
    1015             if (searchTerm.length() == 0) {
     1015            if (searchTerm.isEmpty()) {
    10161016                // No text to search
    10171017                hideMenu();
Note: See TracChangeset for help on using the changeset viewer.