Ignore:
Timestamp:
2015-10-09T01:06:30+02:00 (4 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/mapmode/ExtrudeAction.java

    r8836 r8839  
    11101110     * Returns true if from1-to1 and from2-to2 vertors directions are opposite
    11111111     */
    1112     private boolean isOppositeDirection(EastNorth from1, EastNorth to1, EastNorth from2, EastNorth to2) {
     1112    private static boolean isOppositeDirection(EastNorth from1, EastNorth to1, EastNorth from2, EastNorth to2) {
    11131113        return (from1.getX()-to1.getX())*(from2.getX()-to2.getX())
    11141114              +(from1.getY()-to1.getY())*(from2.getY()-to2.getY()) < 0;
Note: See TracChangeset for help on using the changeset viewer.