Changeset 35123 in osm for applications/editors/josm/plugins/OsmInspectorPlugin/src
- Timestamp:
- 2019-09-26T13:14:00+02:00 (5 years ago)
- Location:
- applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/GeoFabrikWFSClient.java
r34143 r35123 12 12 import org.geotools.data.FeatureSource; 13 13 import org.geotools.factory.CommonFactoryFinder; 14 import org.geotools.factory.GeoTools;15 14 import org.geotools.feature.FeatureCollection; 16 15 import org.geotools.geometry.jts.ReferencedEnvelope; … … 80 79 // Ask WFS service for typeName data constrained by bboxRef 81 80 // 82 FilterFactory2 ff = CommonFactoryFinder.getFilterFactory2(GeoTools 83 .getDefaultHints()); 81 FilterFactory2 ff = CommonFactoryFinder.getFilterFactory2(); 84 82 Filter filterBB = ff.bbox(ff.property(geomName), bboxRef); 85 83 FeatureCollection<SimpleFeatureType, SimpleFeature> features = source -
applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/ImportOsmInspectorBugsAction.java
r33793 r35123 19 19 import org.openstreetmap.josm.tools.Shortcut; 20 20 21 import com.vividsolutions.jts.io.ParseException;21 import org.locationtech.jts.io.ParseException; 22 22 23 23 public class ImportOsmInspectorBugsAction extends JosmAction { -
applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OsmInspectorLayer.java
r34538 r35123 60 60 import org.openstreetmap.josm.tools.Logging; 61 61 62 import com.vividsolutions.jts.geom.Envelope;63 import com.vividsolutions.jts.geom.Geometry;64 import com.vividsolutions.jts.io.ParseException;62 import org.locationtech.jts.geom.Envelope; 63 import org.locationtech.jts.geom.Geometry; 64 import org.locationtech.jts.io.ParseException; 65 65 66 66 public class OsmInspectorLayer extends Layer { -
applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/gui/OsmInspectorDialog.java
r33793 r35123 32 32 import org.openstreetmap.josm.tools.Shortcut; 33 33 34 import com.vividsolutions.jts.geom.Geometry;35 import com.vividsolutions.jts.geom.Point;34 import org.locationtech.jts.geom.Geometry; 35 import org.locationtech.jts.geom.Point; 36 36 37 37 public class OsmInspectorDialog extends ToggleDialog implements LayerChangeListener, ActiveLayerChangeListener { … … 233 233 @Override 234 234 public void layerAdded(LayerAddEvent e) { 235 if (layer instanceof OsmInspectorLayer) {235 if (layer != null) { 236 236 refreshModel(); 237 237 refreshBugList(); … … 241 241 @Override 242 242 public void layerRemoving(LayerRemoveEvent e) { 243 if (layer instanceof OsmInspectorLayer) {243 if (layer != null) { 244 244 bugsList.clearSelection(); 245 245 model.clear();
Note:
See TracChangeset
for help on using the changeset viewer.