Ignore:
Timestamp:
2009-09-20T11:17:58+02:00 (15 years ago)
Author:
stoecker
Message:

some fixes for josm 2166

Location:
applications/editors/josm/plugins/utilsplugin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/utilsplugin/build.xml

    r17550 r17707  
    2525                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    2626                <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="2082"/>
     27                <attribute name="Plugin-Mainversion" value="2166"/>
    2828                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    2929            </manifest>
  • applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/SimplifyWayAction.java

    r17361 r17707  
    111111            backRefsV.visit(wnew.getNode(i));
    112112            boolean used = false;
    113             if (backRefsV.data.size() == 1) {
     113            if (backRefsV.getData().size() == 1) {
    114114                used = Collections.frequency(w.getNodes(), wnew.getNode(i)) > 1;
    115115            } else {
    116                 backRefsV.data.remove(w);
    117                 used = !backRefsV.data.isEmpty();
     116                backRefsV.getData().remove(w);
     117                used = !backRefsV.getData().isEmpty();
    118118            }
    119119            if (!used)
Note: See TracChangeset for help on using the changeset viewer.