Changeset 6644 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2014-01-06T18:22:54+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java
r6638 r6644 5 5 import static org.openstreetmap.josm.tools.I18n.tr; 6 6 7 import java.awt.BorderLayout;8 import java.awt.Dimension;9 7 import java.awt.GridBagConstraints; 10 8 import java.awt.event.ActionEvent; … … 13 11 import java.io.FileNotFoundException; 14 12 import java.io.IOException; 15 import java.io.InputStreamReader;16 13 import java.text.MessageFormat; 17 14 import java.util.ArrayList; 18 15 import java.util.Arrays; 19 16 import java.util.Collection; 20 import java.util.Collections;21 17 import java.util.HashMap; 22 18 import java.util.List; … … 37 33 import org.openstreetmap.josm.command.Command; 38 34 import org.openstreetmap.josm.command.SequenceCommand; 39 import org.openstreetmap.josm.data.osm.Node;40 35 import org.openstreetmap.josm.data.osm.OsmPrimitive; 41 36 import org.openstreetmap.josm.data.osm.OsmPrimitiveType; 42 37 import org.openstreetmap.josm.data.osm.OsmUtils; 43 import org.openstreetmap.josm.data.osm.Relation;44 import org.openstreetmap.josm.data.osm.Way;45 38 import org.openstreetmap.josm.data.validation.Severity; 46 39 import org.openstreetmap.josm.data.validation.Test; … … 57 50 import org.openstreetmap.josm.gui.widgets.EditableList; 58 51 import org.openstreetmap.josm.io.MirroredInputStream; 52 import org.openstreetmap.josm.io.UTFInputStreamReader; 59 53 import org.openstreetmap.josm.tools.GBC; 60 54 import org.openstreetmap.josm.tools.MultiMap; … … 173 167 try { 174 168 MirroredInputStream s = new MirroredInputStream(source); 175 reader = new BufferedReader( new InputStreamReader(s, Utils.UTF_8));169 reader = new BufferedReader(UTFInputStreamReader.create(s, "UTF-8")); 176 170 177 171 String okValue = null;
Note:
See TracChangeset
for help on using the changeset viewer.