Ignore:
Timestamp:
2010-06-10T17:30:56+02:00 (14 years ago)
Author:
upliner
Message:

reverter: fully fix #5005 and add conflicts handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reverter/src/reverter/OsmServerMultiObjectReader.java

    r21201 r21634  
    88import org.openstreetmap.josm.data.osm.DataSet;
    99import org.openstreetmap.josm.data.osm.OsmPrimitiveType;
     10import org.openstreetmap.josm.data.osm.PrimitiveId;
    1011import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    1112import org.openstreetmap.josm.io.OsmServerReader;
     
    1516public class OsmServerMultiObjectReader extends OsmServerReader {
    1617    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 {
    1922        StringBuffer sb = new StringBuffer();
    2023        sb.append(type.getAPIName());
     
    5356        } catch (Exception e) {
    5457            throw new OsmTransferException(e);
    55         } finally
    56         {
     58        } finally {
    5759            progressMonitor.finishTask();
    5860            activeConnection = null;
    5961        }
    6062    }
    61 
    6263}
Note: See TracChangeset for help on using the changeset viewer.