|
Last change
on this file since 32395 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.
|
|---|
| 2 | package relcontext.relationfix;
|
|---|
| 3 |
|
|---|
| 4 | import org.openstreetmap.josm.command.Command;
|
|---|
| 5 | import org.openstreetmap.josm.data.osm.Relation;
|
|---|
| 6 |
|
|---|
| 7 | /**
|
|---|
| 8 | * Default fixer that does nothing - every relation is OK for this class.
|
|---|
| 9 | */
|
|---|
| 10 | public 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.