Changeset 1163 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2008-12-22T23:20:11+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/XmlObjectParser.java
r824 r1163 1 1 // License: GPL. Copyright 2007 by Immanuel Scholz and others 2 2 package org.openstreetmap.josm.tools; 3 4 import static org.openstreetmap.josm.tools.I18n.tr;5 3 6 4 import java.io.Reader; … … 23 21 import org.xml.sax.helpers.DefaultHandler; 24 22 23 import org.openstreetmap.josm.Main; 24 25 25 /** 26 26 * An helper class that reads from a XML stream into specific objects. … … 30 30 public class XmlObjectParser implements Iterable<Object> { 31 31 32 public static final String lang = tr("En:").toLowerCase();32 public static final String lang = Main.getLanguageCode(); 33 33 public static class Uniform<T> implements Iterable<T>{ 34 34 private Iterator<Object> iterator;
Note:
See TracChangeset
for help on using the changeset viewer.