Changeset 32522 in osm for applications/editors/josm/plugins/pt_assistant/src
- Timestamp:
- 2016-07-02T02:28:48+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/PTAssistantPlugin.java
r32233 r32522 2 2 package org.openstreetmap.josm.plugins.pt_assistant; 3 3 4 import static org.openstreetmap.josm.tools.I18n.tr;5 6 import javax.swing.JOptionPane;7 8 import org.openstreetmap.josm.data.osm.Relation;9 import org.openstreetmap.josm.data.osm.RelationMember;10 4 import org.openstreetmap.josm.data.validation.OsmValidator; 11 import org.openstreetmap.josm.data.validation.TestError;12 5 import org.openstreetmap.josm.plugins.Plugin; 13 6 import org.openstreetmap.josm.plugins.PluginInformation; 14 import org.openstreetmap.josm.plugins.pt_assistant.validation.DirectionTest;15 import org.openstreetmap.josm.plugins.pt_assistant.validation.GapTest;16 7 import org.openstreetmap.josm.plugins.pt_assistant.validation.PTAssitantValidatorTest; 17 import org.openstreetmap.josm.plugins.pt_assistant.validation.PlatformsFirstTest;18 import org.openstreetmap.josm.plugins.pt_assistant.validation.RoadTypeTest;19 8 20 9 /** -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/actions/IncompleteMembersDownloadThread.java
r32367 r32522 4 4 import java.util.Collection; 5 5 import java.util.List; 6 7 import javax.swing.JOptionPane;8 6 9 7 import org.openstreetmap.josm.Main; … … 13 11 import org.openstreetmap.josm.data.osm.PrimitiveId; 14 12 import org.openstreetmap.josm.data.osm.Relation; 15 import org.openstreetmap.josm.data.osm.RelationMember;16 13 import org.openstreetmap.josm.gui.io.DownloadPrimitivesWithReferrersTask; 17 14 import org.openstreetmap.josm.plugins.pt_assistant.utils.RouteUtils; … … 24 21 } 25 22 23 @SuppressWarnings("unused") 26 24 private void realRun() { 27 25 // TODO -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/data/PTRouteDataManager.java
r32367 r32522 3 3 import java.util.ArrayList; 4 4 import java.util.List; 5 6 import javax.swing.JOptionPane;7 5 8 6 import org.openstreetmap.josm.data.coor.LatLon; -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/data/PTWay.java
r32367 r32522 3 3 import java.util.ArrayList; 4 4 import java.util.List; 5 6 import javax.swing.JOptionPane;7 5 8 6 import org.openstreetmap.josm.data.osm.OsmPrimitiveType; -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/gui/IncompleteMembersDownloadDialog.java
r32338 r32522 74 74 } 75 75 76 @SuppressWarnings("unused") 76 77 private void createDialog() { 77 78 if (!SwingUtilities.isEventDispatchThread()) { -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/gui/PTAssistantLayer.java
r32521 r32522 11 11 import javax.swing.Action; 12 12 import javax.swing.Icon; 13 import javax.swing.JOptionPane;14 13 15 14 import org.openstreetmap.josm.Main; -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/gui/PTAssistantPaintVisitor.java
r32521 r32522 9 9 import java.util.Comparator; 10 10 import java.util.HashMap; 11 import java.util.HashSet;12 11 import java.util.List; 13 12 -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/gui/ProceedDialog.java
r32331 r32522 136 136 * 137 137 */ 138 @SuppressWarnings("unused") 138 139 private void showDialog() { 139 140 -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/validation/GapTest.java
r32427 r32522 28 28 public static final int ERROR_CODE_SPLITTING = 3713; 29 29 public static final int ERROR_CODE_OTHER_GAP = 3719; 30 31 private List<RelationMember> overshootList = new ArrayList<>();32 30 33 31 public GapTest() { … … 127 125 * @return true is there is such a way, false otherwise 128 126 */ 127 @SuppressWarnings("unused") 129 128 private List<RelationMember> getOvershoots(List<RelationMember> sortedWays) { 130 129 -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/validation/PTAssitantValidatorTest.java
r32521 r32522 279 279 } 280 280 281 281 282 @SuppressWarnings("unused") 282 283 private void performDummyTest(Relation r) { 283 284 List<Relation> primitives = new ArrayList<>(1); -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/validation/RoadTypeTest.java
r32427 r32522 30 30 } 31 31 32 @SuppressWarnings("deprecation") 32 33 @Override 33 34 public void visit(Relation r) { -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/validation/SegmentChecker.java
r32367 r32522 30 30 31 31 /* PTRouteSegments that have been validated and are correct */ 32 @SuppressWarnings("unused") 32 33 private static List<PTRouteSegment> correctSegments = new ArrayList<PTRouteSegment>(); 33 34 … … 36 37 37 38 /* Assigns PTStops to nearest PTWays and stores that correspondence */ 39 @SuppressWarnings("unused") 38 40 private StopToWayAssigner assigner; 39 41 … … 151 153 } 152 154 155 @SuppressWarnings("unused") 153 156 private void performSegmentTest() { 154 157 // TODO
Note:
See TracChangeset
for help on using the changeset viewer.