Ignore:
Timestamp:
2016-12-12T02:28:14+01:00 (7 years ago)
Author:
Don-vip
Message:

findbugs - RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/WindowGeometry.java

    r10627 r11381  
    204204    protected final void initFromPreferences(String preferenceKey) throws WindowGeometryException {
    205205        String value = Main.pref.get(preferenceKey);
    206         if (value == null || value.isEmpty())
     206        if (value.isEmpty())
    207207            throw new WindowGeometryException(
    208208                    tr("Preference with key ''{0}'' does not exist. Cannot restore window geometry from preferences.", preferenceKey));
Note: See TracChangeset for help on using the changeset viewer.