Changeset 32961 in osm for applications/editors/josm
- Timestamp:
- 2016-09-10T00:38:06+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/validation/PTAssistantValidatorTest.java
r32895 r32961 109 109 public void visit(Relation r) { 110 110 111 if (!RouteUtils.isTwoDirectionRoute(r)) { 112 return; 113 } 114 115 // Download incomplete members. If the download does not work, return 116 // and do not do any testing. 117 if (r.hasIncompleteMembers()) { 118 119 boolean downloadSuccessful = this.downloadIncompleteMembers(); 120 if (!downloadSuccessful) { 121 return; 122 } 123 } 124 125 if (r.hasIncompleteMembers()) { 126 return; 127 } 128 111 129 // Do some testing on stop area relations 112 130 if (Main.pref.getBoolean("pt_assistant.stop-area-tests", true) == true && StopUtils.isStopArea(r)) { … … 126 144 // Attach thrown errors 127 145 this.errors.addAll(stopChecker.getErrors()); 128 }129 130 if (!RouteUtils.isTwoDirectionRoute(r)) {131 return;132 }133 134 // Download incomplete members. If the download does not work, return135 // and do not do any testing.136 if (r.hasIncompleteMembers()) {137 138 boolean downloadSuccessful = this.downloadIncompleteMembers();139 if (!downloadSuccessful) {140 return;141 }142 }143 144 if (r.hasIncompleteMembers()) {145 return;146 146 } 147 147
Note:
See TracChangeset
for help on using the changeset viewer.