Changeset 11178 in josm


Ignore:
Timestamp:
2016-10-27T00:37:45+02:00 (3 years ago)
Author:
simon04
Message:

Checkstyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/MultipolygonTest.java

    r11158 r11178  
    1818import java.util.Set;
    1919
    20 import org.openstreetmap.josm.Main;
    2120import org.openstreetmap.josm.actions.CreateMultipolygonAction;
    2221import org.openstreetmap.josm.command.ChangeCommand;
     
    3029import org.openstreetmap.josm.data.osm.visitor.paint.relations.Multipolygon.PolyData;
    3130import org.openstreetmap.josm.data.osm.visitor.paint.relations.Multipolygon.PolyData.Intersection;
    32 import org.openstreetmap.josm.data.osm.visitor.paint.relations.MultipolygonCache;
    3331import org.openstreetmap.josm.data.validation.OsmValidator;
    3432import org.openstreetmap.josm.data.validation.Severity;
     
    503501                    for (RelationMember rm : oldMembers) {
    504502                        if (toRemove.contains(rm.getMember())) {
    505                             if (found.contains(rm.getMember()) == false) {
     503                            if (!found.contains(rm.getMember())) {
    506504                                found.add(rm.getMember());
    507505                                newMembers.add(rm);
     
    512510                    }
    513511                    newRel.setMembers(newMembers);
    514                     return new ChangeCommand (oldRel, newRel);
     512                    return new ChangeCommand(oldRel, newRel);
    515513                }
    516514            }
Note: See TracChangeset for help on using the changeset viewer.