Changeset 9850 in josm for trunk/src/org


Ignore:
Timestamp:
2016-02-22T01:08:28+01:00 (9 years ago)
Author:
Don-vip
Message:

findbugs

Location:
trunk/src/org/openstreetmap/josm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/CorrelateGpxWithImages.java

    r9752 r9850  
    14791479        Pair<Timezone, Offset> splitOutTimezone() {
    14801480            // In hours, rounded to two decimal places
    1481             double tz = (withoutDayOffset().getSeconds() * 100L / (60L * 60L)) / 100.0;
     1481            double tz = (withoutDayOffset().getSeconds() * 100L / 3600.0) / 100.0;
    14821482
    14831483            // Due to imprecise clocks we might get a "+3:28" timezone, which should obviously be 3:30 with
  • trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/ComboMultiSelect.java

    r9665 r9850  
    302302                return DIFFERENT;
    303303            String displayValue = getDisplayValue(true);
    304             return displayValue != null ? displayValue.replaceAll("<.*>", "") : null; // remove additional markup, e.g. <br>
     304            return displayValue != null ? displayValue.replaceAll("<.*>", "") : ""; // remove additional markup, e.g. <br>
    305305        }
    306306
  • trunk/src/org/openstreetmap/josm/tools/OverpassTurboQueryWizard.java

    r9717 r9850  
    6565                    } }
    6666            );
    67             if (result == Boolean.FALSE) {
     67            if (Boolean.FALSE.equals(result)) {
    6868                throw new UncheckedParseException();
    6969            }
Note: See TracChangeset for help on using the changeset viewer.