Changeset 34054 in osm for applications/editors/josm/plugins/routing/src/com
- Timestamp:
- 2018-02-09T22:00:50+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingLayer.java
r33891 r34054 14 14 import java.util.Collection; 15 15 import java.util.List; 16 import java.util.Objects; 16 17 import java.util.Set; 17 18 … … 199 200 @Override 200 201 public void paint(Graphics2D g, MapView mv, Bounds bounds) { 201 boolean isActiveLayer = (mv.getLayerManager().getActiveLayer() .equals(this));202 boolean isActiveLayer = Objects.equals(mv.getLayerManager().getActiveLayer(), this); 202 203 // Get routing nodes (start, middle, end) 203 204 List<Node> nodes = routingModel.getSelectedNodes();
Note:
See TracChangeset
for help on using the changeset viewer.