Changeset 28026 in osm for applications/editors/josm/plugins/utilsplugin2
- Timestamp:
- 2012-03-10T05:53:33+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/UtilsPlugin2.java
r27998 r28026 183 183 public InsideMatch(Match match) { 184 184 super(match); 185 //init();186 185 } 187 186 … … 190 189 */ 191 190 private void init() { 192 if (inside==null) init(); // lazy initialization193 191 Collection<OsmPrimitive> matchedAreas = new HashSet<OsmPrimitive>(); 194 192 … … 212 210 @Override 213 211 public boolean match(OsmPrimitive osm) { 212 if (inside == null) 213 init(); // lazy initialization 214 214 215 return inside.contains(osm); 215 216 }
Note:
See TracChangeset
for help on using the changeset viewer.