Ignore:
Timestamp:
2015-10-13T23:50:14+02:00 (9 years ago)
Author:
Don-vip
Message:

sonar - squid:S2325 - "private" methods that don't access instance data should be "static"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/CreateCircleAction.java

    r8513 r8870  
    248248     * @return Modified nodes list ordered according hand traffic.
    249249     */
    250     private List<Node> orderNodesByTrafficHand(List<Node> nodes) {
     250    private static List<Node> orderNodesByTrafficHand(List<Node> nodes) {
    251251        boolean rightHandTraffic = true;
    252252        for (Node n: nodes) {
     
    268268     * @return Modified nodes list with same direction as way.
    269269     */
    270     private List<Node> orderNodesByWay(List<Node> nodes, Way way) {
     270    private static List<Node> orderNodesByWay(List<Node> nodes, Way way) {
    271271        List<Node> wayNodes = way.getNodes();
    272272        if (!way.isClosed()) {
Note: See TracChangeset for help on using the changeset viewer.