Changeset 582 in josm for trunk/src/org/openstreetmap/josm/data/osm
- Timestamp:
- 2008-03-15T14:39:28+01:00 (16 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Relation.java
r343 r582 3 3 import java.util.ArrayList; 4 4 import java.util.Arrays; 5 import java.util.Collections;6 5 import java.util.List; 7 import java.util.Map.Entry;8 6 9 7 import org.openstreetmap.josm.data.osm.visitor.Visitor; -
trunk/src/org/openstreetmap/josm/data/osm/RelationMember.java
r426 r582 16 16 * Default constructor. Does nothing. 17 17 */ 18 public RelationMember() { } ;18 public RelationMember() { } 19 19 20 20 public RelationMember(String role, OsmPrimitive member) { -
trunk/src/org/openstreetmap/josm/data/osm/TigerUtils.java
r529 r582 12 12 */ 13 13 public class TigerUtils { 14 14 15 public static boolean isTigerTag(String tag) 15 16 { … … 18 19 return true; 19 20 } 21 20 22 public static boolean tagIsInt(String name) { 21 23 if (name.equals("tiger:tlid")) … … 23 25 return false; 24 26 } 27 25 28 public static Object tagObj(String name) { 26 29 if (tagIsInt(name)) … … 28 31 return name; 29 32 } 33 30 34 public static String combineTags(String name, Set<String> values) { 31 TreeSet resultSet = new TreeSet();35 TreeSet<Object> resultSet = new TreeSet<Object>(); 32 36 for (String value: values) { 33 37 for (String part: value.split(":")) { … … 43 47 return combined; 44 48 } 49 45 50 public static String combineTags(String name, String t1, String t2) { 46 51 Set<String> set = new TreeSet<String>(); -
trunk/src/org/openstreetmap/josm/data/osm/visitor/NameVisitor.java
r511 r582 8 8 import java.text.NumberFormat; 9 9 import java.util.HashSet; 10 import java.util.Set;11 10 12 11 import javax.swing.Icon; … … 14 13 15 14 import org.openstreetmap.josm.Main; 16 import org.openstreetmap.josm.data.osm.Relation;17 15 import org.openstreetmap.josm.data.osm.Node; 18 16 import org.openstreetmap.josm.data.osm.OsmPrimitive; 17 import org.openstreetmap.josm.data.osm.Relation; 19 18 import org.openstreetmap.josm.data.osm.Way; 20 19 import org.openstreetmap.josm.tools.ImageProvider;
Note:
See TracChangeset
for help on using the changeset viewer.