Ignore:
Timestamp:
2016-03-13T21:36:47+01:00 (4 years ago)
Author:
Don-vip
Message:

remove unused code

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

Legend:

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

    r9439 r9983  
    287287
    288288        /**
    289          * Constructs a new {@code NodePair}.
    290          * @param other An existing {@code NodePair}
    291          */
    292         public NodePair(NodePair other) {
    293             this(other.a, other.b);
    294         }
    295 
    296         /**
    297289         * Replies the first node.
    298290         * @return The first node
     
    308300        public Node getB() {
    309301            return b;
    310         }
    311 
    312         public boolean isAdjacentToA(NodePair other) {
    313             return other.getA() == a || other.getB() == a;
    314         }
    315 
    316         public boolean isAdjacentToB(NodePair other) {
    317             return other.getA() == b || other.getB() == b;
    318302        }
    319303
  • trunk/src/org/openstreetmap/josm/actions/DialogsToggleAction.java

    r9006 r9983  
    4343    }
    4444
    45     /**
    46      * To call if this action must be initially run at JOSM startup.
    47      */
    48     public void initial() {
    49         if (isSelected()) {
    50             setMode();
    51         }
    52     }
    53 
    5445    protected void setMode() {
    5546        if (Main.isDisplayingMapView()) {
Note: See TracChangeset for help on using the changeset viewer.