Ignore:
Timestamp:
2013-11-05T23:12:52+01:00 (6 years ago)
Author:
Don-vip
Message:

Sonar/Findbugs - unused code

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

Legend:

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

    r6336 r6367  
    12961296
    12971297    /**
    1298      * This method filters the list of relations that form the multipolygons.
    1299      * @param relations all relations
    1300      * @param polygons polygons for filtering
    1301      * @return relations which don't form the polygons
    1302      */
    1303     private List<Relation> filterOwnMultipolygonRelations(Collection<Relation> relations, List<Multipolygon> polygons) {
    1304 
    1305         List<Relation> relationsToRemove = new ArrayList<Relation>();
    1306 
    1307         for (Multipolygon m : polygons) {
    1308             if (m.relation != null) {
    1309                 relationsToRemove.add(m.relation);
    1310             }
    1311         }
    1312 
    1313         List<Relation> result = new ArrayList<Relation>();
    1314 
    1315         result.addAll(relations);
    1316         result.removeAll(relationsToRemove);
    1317         return result;
    1318     }
    1319 
    1320     /**
    13211298     * Will add own multipolygon relation to the "previously existing" relations. Fixup is done by fixRelations
    13221299     * @param inner List of already closed inner ways
  • trunk/src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java

    r6316 r6367  
    289289    }
    290290
    291     private boolean isValidModifierCombination() {
    292         // TODO: implement to give feedback on invalid modifier combination
    293         return true;
    294     }
    295 
    296291    private boolean sanityCheck() {
    297292        // @formatter:off
Note: See TracChangeset for help on using the changeset viewer.