Ignore:
Timestamp:
2015-06-03T14:05:30+02:00 (9 years ago)
Author:
Don-vip
Message:

global use of String.isEmpty()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceTabbedPane.java

    r8444 r8461  
    489489                    // Get icon
    490490                    String iconName = tps.getIconName();
    491                     ImageIcon icon = iconName != null && iconName.length() > 0 ? ImageProvider.get("preferences", iconName) : null;
     491                    ImageIcon icon = iconName != null && !iconName.isEmpty() ? ImageProvider.get("preferences", iconName) : null;
    492492                    // See #6985 - Force icons to be 48x48 pixels
    493493                    if (icon != null && (icon.getIconHeight() != 48 || icon.getIconWidth() != 48)) {
Note: See TracChangeset for help on using the changeset viewer.