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

Last change on this file since 29459 was 28693, checked in by larry0ua, 12 years ago

'RelToolbox: refactored relation fixing code, added associatedStreet as a fixable relation'

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