Changeset 22290 in osm for applications/editors


Ignore:
Timestamp:
2010-07-12T23:18:59+02:00 (14 years ago)
Author:
nakor
Message:

Code cleanup

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

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/michigan_left/.classpath

    r18962 r22290  
    22<classpath>
    33        <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"/>
    66        <classpathentry kind="output" path="bin"/>
    77</classpath>
  • applications/editors/josm/plugins/michigan_left/src/MichiganLeft/MichiganLeft.java

    r20662 r22290  
    4141   
    4242    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>();
    4448
    4549        public MichiganLeftAction() {
     
    139143          ArrayList<Node> viaNodes=new ArrayList<Node>();
    140144          // 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();
    144148            Integer nb=(Integer) ExtremNodes.get(extrem);
    145149            //System.out.println(tr("Via node {0}, {1}", extrem.getId(), nb.intValue()));
Note: See TracChangeset for help on using the changeset viewer.