Ignore:
Timestamp:
2008-03-15T14:39:28+01:00 (17 years ago)
Author:
framm
Message:
  • got rid of a few compiler warnings
Location:
trunk/src/org/openstreetmap/josm/io
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/GpxReader.java

    r572 r582  
    1010import java.io.InputStream;
    1111import java.io.InputStreamReader;
     12import java.util.ArrayList;
    1213import java.util.Collection;
    13 import java.util.HashMap;
    1414import java.util.LinkedList;
    15 import java.util.ArrayList;
     15import java.util.Map;
    1616import java.util.Stack;
    17 import java.util.Map;
    1817
    1918import javax.xml.parsers.ParserConfigurationException;
    2019import javax.xml.parsers.SAXParserFactory;
    2120
    22 import org.openstreetmap.josm.Main;
    2321import org.openstreetmap.josm.data.coor.LatLon;
    2422import org.openstreetmap.josm.data.gpx.GpxData;
    2523import org.openstreetmap.josm.data.gpx.GpxLink;
     24import org.openstreetmap.josm.data.gpx.GpxRoute;
    2625import org.openstreetmap.josm.data.gpx.GpxTrack;
    2726import org.openstreetmap.josm.data.gpx.WayPoint;
    28 import org.openstreetmap.josm.data.gpx.GpxRoute;
    29 import org.openstreetmap.josm.gui.layer.markerlayer.MarkerProducers;
    3027import org.xml.sax.Attributes;
    3128import org.xml.sax.InputSource;
  • trunk/src/org/openstreetmap/josm/io/MultiPartFormOutputStream.java

    r402 r582  
    345345         * Flushes the stream.  Actually, this method does nothing, as the only
    346346         * write methods are highly specialized and automatically flush. 
    347          *
    348          * @throws  java.io.IOException  on input/output errors
    349          */
    350         public void flush() throws java.io.IOException {
     347         */
     348        public void flush() {
    351349                // out.flush();
    352350        }
  • trunk/src/org/openstreetmap/josm/io/OsmReader.java

    r521 r582  
    77import java.io.InputStream;
    88import java.io.InputStreamReader;
    9 import java.text.ParseException;
    109import java.util.ArrayList;
    1110import java.util.Arrays;
    1211import java.util.Collection;
    13 import java.util.Date;
    1412import java.util.HashMap;
    1513import java.util.HashSet;
     
    2624import org.openstreetmap.josm.data.osm.DataSet;
    2725import org.openstreetmap.josm.data.osm.DataSource;
     26import org.openstreetmap.josm.data.osm.Node;
     27import org.openstreetmap.josm.data.osm.OsmPrimitive;
    2828import org.openstreetmap.josm.data.osm.Relation;
    2929import org.openstreetmap.josm.data.osm.RelationMember;
    30 import org.openstreetmap.josm.data.osm.Node;
    31 import org.openstreetmap.josm.data.osm.OsmPrimitive;
    3230import org.openstreetmap.josm.data.osm.User;
    3331import org.openstreetmap.josm.data.osm.Way;
     
    3533import org.openstreetmap.josm.data.osm.visitor.Visitor;
    3634import org.openstreetmap.josm.gui.PleaseWaitDialog;
    37 import org.openstreetmap.josm.tools.DateParser;
    3835import org.xml.sax.Attributes;
    3936import org.xml.sax.InputSource;
Note: See TracChangeset for help on using the changeset viewer.