Changeset 21634 in osm for applications/editors/josm/plugins/reverter/src/reverter/OsmServerMultiObjectReader.java
- Timestamp:
- 2010-06-10T17:30:56+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reverter/src/reverter/OsmServerMultiObjectReader.java
r21201 r21634 8 8 import org.openstreetmap.josm.data.osm.DataSet; 9 9 import org.openstreetmap.josm.data.osm.OsmPrimitiveType; 10 import org.openstreetmap.josm.data.osm.PrimitiveId; 10 11 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 11 12 import org.openstreetmap.josm.io.OsmServerReader; … … 15 16 public class OsmServerMultiObjectReader extends OsmServerReader { 16 17 private MultiOsmReader rdr = new MultiOsmReader(); 17 public void ReadObject(long id,int version,OsmPrimitiveType type,ProgressMonitor progressMonitor) throws OsmTransferException 18 { 18 public void ReadObject(PrimitiveId id, int version, ProgressMonitor progressMonitor) throws OsmTransferException { 19 ReadObject(id.getUniqueId(), version, id.getType(), progressMonitor); 20 } 21 public void ReadObject(long id,int version,OsmPrimitiveType type,ProgressMonitor progressMonitor) throws OsmTransferException { 19 22 StringBuffer sb = new StringBuffer(); 20 23 sb.append(type.getAPIName()); … … 53 56 } catch (Exception e) { 54 57 throw new OsmTransferException(e); 55 } finally 56 { 58 } finally { 57 59 progressMonitor.finishTask(); 58 60 activeConnection = null; 59 61 } 60 62 } 61 62 63 }
Note:
See TracChangeset
for help on using the changeset viewer.