Ignore:
Timestamp:
2016-05-16T04:05:58+02:00 (8 years ago)
Author:
Don-vip
Message:

findbugs: DP_DO_INSIDE_DO_PRIVILEGED + UWF_UNWRITTEN_FIELD + RC_REF_COMPARISON + OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmReader.java

    r10212 r10223  
    1111import java.util.Collection;
    1212import java.util.List;
     13import java.util.Objects;
    1314import java.util.regex.Matcher;
    1415import java.util.regex.Pattern;
     
    355356        }
    356357        // Read changeset info if neither upload-changeset nor id are set, or if they are both set to the same value
    357         if (id == uploadChangesetId || (id != null && id.equals(uploadChangesetId))) {
     358        if (Objects.equals(id, uploadChangesetId)) {
    358359            uploadChangeset = new Changeset(id != null ? id.intValue() : 0);
    359360            while (true) {
Note: See TracChangeset for help on using the changeset viewer.