source: osm/applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix/NothingFixer.java

Last change on this file was 32395, checked in by donvip, 9 years ago

checkstyle, update to JOSM 10279

File size: 642 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package relcontext.relationfix;
3
4import org.openstreetmap.josm.command.Command;
5import org.openstreetmap.josm.data.osm.Relation;
6
7/**
8 * Default fixer that does nothing - every relation is OK for this class.
9 */
10public class NothingFixer extends RelationFixer {
11
12 public NothingFixer() {
13 super("");
14 }
15
16 @Override
17 public boolean isFixerApplicable(Relation rel) {
18 return true;
19 }
20
21 @Override
22 public boolean isRelationGood(Relation rel) {
23 return true;
24 }
25
26 @Override
27 public Command fixRelation(Relation rel) {
28 return null;
29 }
30}
Note: See TracBrowser for help on using the repository browser.