Changeset 18084 in osm for applications/editors/josm/plugins/michigan_left
- Timestamp:
- 2009-10-11T15:36:19+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/michigan_left/src/MichiganLeft/MichiganLeftAction.java
r18083 r18084 60 60 } 61 61 } 62 System.out.println(tr("{0} extrem nodes.", ExtremNodes.size()));62 //System.out.println(tr("{0} extrem nodes.", ExtremNodes.size())); 63 63 if (ExtremNodes.size() != 4) 64 64 { … … 121 121 } 122 122 } 123 System.out.println(tr("{0} extrem nodes.", ExtremNodes.size()));123 //System.out.println(tr("{0} extrem nodes.", ExtremNodes.size())); 124 124 125 125 ArrayList<Node> viaNodes=new ArrayList<Node>(); … … 129 129 Node extrem=(Node)enumKey.nextElement(); 130 130 Integer nb=(Integer) ExtremNodes.get(extrem); 131 System.out.println(tr("Via node {0}, {1}", extrem.getId(), nb.intValue()));131 //System.out.println(tr("Via node {0}, {1}", extrem.getId(), nb.intValue())); 132 132 if (nb.intValue() == 3) 133 133 { … … 135 135 } 136 136 } 137 System.out.println(tr("{0} via nodes.", viaNodes.size()));137 //System.out.println(tr("{0} via nodes.", viaNodes.size())); 138 138 139 139 if (viaNodes.size() != 2) { … … 158 158 } 159 159 } 160 System.out.println(tr("Middle way: {0}", middle.getId()));160 //System.out.println(tr("Middle way: {0}", middle.getId())); 161 161 162 162 // Build relations … … 189 189 public void incrementHashtable(Hashtable<Node, Integer> hash, Node node) 190 190 { 191 System.out.println(tr("Processing {0}", node.getId()));191 //System.out.println(tr("Processing {0}", node.getId())); 192 192 if (hash.containsKey(node)) 193 193 { 194 194 Integer nb=(Integer) hash.get(node); 195 195 hash.put(node, new Integer (nb.intValue()+1)); 196 System.out.println(tr("Old value", nb.intValue()));196 //System.out.println(tr("Old value", nb.intValue())); 197 197 } 198 198 else … … 202 202 public void buildRelation(Way fromWay, Way toWay, Node viaNode) 203 203 { 204 System.out.println(tr("Relation: from {0} to {1} via {2}", fromWay.getId(), toWay.getId(), viaNode.getId()));204 //System.out.println(tr("Relation: from {0} to {1} via {2}", fromWay.getId(), toWay.getId(), viaNode.getId())); 205 205 206 206 Relation relation = new Relation();
Note:
See TracChangeset
for help on using the changeset viewer.