Ignore:
Timestamp:
2017-09-09T20:13:14+02:00 (2 years ago)
Author:
Don-vip
Message:

SpotBugs - fix some warnings

Location:
trunk/src/org/openstreetmap/josm/tools
Files:
2 edited

Legend:

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

    r12722 r12808  
    13161316        // convert rotatedAngle to an integer value from 0 to 360
    13171317        Long angleLong = Math.round(rotatedAngle % 360);
    1318         Long originalAngle = rotatedAngle != 0 && angleLong == 0 ? 360L : angleLong;
     1318        Long originalAngle = rotatedAngle != 0 && angleLong == 0 ? Long.valueOf(360L) : angleLong;
    13191319
    13201320        synchronized (ROTATE_CACHE) {
  • trunk/src/org/openstreetmap/josm/tools/bugreport/BugReportQueue.java

    r12791 r12808  
    1717public class BugReportQueue {
    1818
    19     private static final BugReportQueue INSTANCE = new BugReportQueue();
    20 
    2119    /**
    2220     * The fallback bug report handler if none is set. Prints the stacktrace on standard error stream.
     
    2725        return BugReportQueue.SuppressionMode.NONE;
    2826    };
     27
     28    private static final BugReportQueue INSTANCE = new BugReportQueue();
    2929
    3030    private final LinkedList<ReportedException> reportsToDisplay = new LinkedList<>();
Note: See TracChangeset for help on using the changeset viewer.