Changeset 22290 in osm for applications/editors
- Timestamp:
- 2010-07-12T23:18:59+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/michigan_left
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/michigan_left/.classpath
r18962 r22290 2 2 <classpath> 3 3 <classpathentry kind="src" path="src"/> 4 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK 5"/>5 <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>4 <classpathentry combineaccessrules="false" kind="src" path="/core"/> 5 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 6 6 <classpathentry kind="output" path="bin"/> 7 7 </classpath> -
applications/editors/josm/plugins/michigan_left/src/MichiganLeft/MichiganLeft.java
r20662 r22290 41 41 42 42 private class MichiganLeftAction extends JosmAction { 43 private LinkedList<Command> cmds = new LinkedList<Command>(); 43 /** 44 * 45 */ 46 private static final long serialVersionUID = 1L; 47 private LinkedList<Command> cmds = new LinkedList<Command>(); 44 48 45 49 public MichiganLeftAction() { … … 139 143 ArrayList<Node> viaNodes=new ArrayList<Node>(); 140 144 // find via nodes (they have 3 occurences in the list) 141 for (Enumeration enumKey = ExtremNodes.keys() ; enumKey.hasMoreElements(); )142 { 143 Node extrem= (Node)enumKey.nextElement();145 for (Enumeration<Node> enumKey = ExtremNodes.keys() ; enumKey.hasMoreElements(); ) 146 { 147 Node extrem=enumKey.nextElement(); 144 148 Integer nb=(Integer) ExtremNodes.get(extrem); 145 149 //System.out.println(tr("Via node {0}, {1}", extrem.getId(), nb.intValue()));
Note:
See TracChangeset
for help on using the changeset viewer.