Changeset 17707 in osm for applications/editors/josm/plugins/utilsplugin
- Timestamp:
- 2009-09-20T11:17:58+02:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/utilsplugin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin/build.xml
r17550 r17707 25 25 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 26 26 <attribute name="Plugin-Description" value="Several utilities that make your life easier: e.g. simplify way, join areas, jump to position."/> 27 <attribute name="Plugin-Mainversion" value="2 082"/>27 <attribute name="Plugin-Mainversion" value="2166"/> 28 28 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 29 29 </manifest> -
applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/SimplifyWayAction.java
r17361 r17707 111 111 backRefsV.visit(wnew.getNode(i)); 112 112 boolean used = false; 113 if (backRefsV. data.size() == 1) {113 if (backRefsV.getData().size() == 1) { 114 114 used = Collections.frequency(w.getNodes(), wnew.getNode(i)) > 1; 115 115 } else { 116 backRefsV. data.remove(w);117 used = !backRefsV. data.isEmpty();116 backRefsV.getData().remove(w); 117 used = !backRefsV.getData().isEmpty(); 118 118 } 119 119 if (!used)
Note:
See TracChangeset
for help on using the changeset viewer.