Changeset 8486 in josm


Ignore:
Timestamp:
2015-06-11T00:37:42+02:00 (5 years ago)
Author:
Don-vip
Message:

Remove unused method parameter(s) in private methods

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

Legend:

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

    r8460 r8486  
    600600
    601601            //create multipolygon relation, if necessary.
    602             RelationRole ownMultipolygonRelation = addOwnMultigonRelation(resultPol.innerWays, resultPol.outerWay);
     602            RelationRole ownMultipolygonRelation = addOwnMultipolygonRelation(resultPol.innerWays);
    603603
    604604            //add back the original relations, merged with our new multipolygon relation
     
    13701370     * Will add own multipolygon relation to the "previously existing" relations. Fixup is done by fixRelations
    13711371     * @param inner List of already closed inner ways
    1372      * @param outer The outer way
    13731372     * @return The list of relation with roles to add own relation to
    13741373     */
    1375     private RelationRole addOwnMultigonRelation(Collection<Way> inner, Way outer) {
     1374    private RelationRole addOwnMultipolygonRelation(Collection<Way> inner) {
    13761375        if (inner.isEmpty()) return null;
    13771376        // Create new multipolygon relation and add all inner ways to it
  • trunk/src/org/openstreetmap/josm/gui/widgets/MultiSplitPane.java

    r8444 r8486  
    308308    }
    309309
    310     private void finishDrag(int x, int y) {
     310    private void finishDrag() {
    311311        if (dragUnderway) {
    312312            clearDragState();
     
    368368        @Override
    369369        public void mouseReleased(MouseEvent e) {
    370             finishDrag(e.getX(), e.getY());
     370            finishDrag();
    371371        }
    372372        @Override
Note: See TracChangeset for help on using the changeset viewer.