Ignore:
Timestamp:
2017-05-03T17:27:50+02:00 (7 years ago)
Author:
michael2402
Message:

Fix sonar warnings (modifiers, parameters)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/LongSegment.java

    r12040 r12050  
    130130    }
    131131
    132     private boolean isUsableNode(OsmPrimitive p) {
     132    private static boolean isUsableNode(OsmPrimitive p) {
    133133        // test changed nodes - ways referred by them may not be checked automatically.
    134134        return p instanceof Node && p.isDrawable();
    135135    }
    136136
    137     private boolean isUsableWay(OsmPrimitive p) {
     137    private static boolean isUsableWay(OsmPrimitive p) {
    138138        // test only Ways with at least 2 nodes
    139139        return p instanceof Way && ((Way) p).getNodesCount() > 1;
Note: See TracChangeset for help on using the changeset viewer.