Ignore:
Timestamp:
2009-11-22T12:45:38+01:00 (14 years ago)
Author:
jttt
Message:

Removed unnecessary setting of OsmPrimitive.incomplete

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java

    r2399 r2498  
    6262    protected static void populateTestDataSetWithNodes(DataSet ds) {
    6363        for (int i=0;i<100;i++) {
    64             Node n = new Node(0);
     64            Node n = new Node();
    6565            n.setCoor(new LatLon(-36.6,47.6));
    6666            n.put("name", "node-"+i);
    67             n.incomplete = false;
    6867            ds.addPrimitive(n);
    6968        }
     
    7271    protected static void populateTestDataSetWithWays(DataSet ds) {
    7372        for (int i=0;i<20;i++) {
    74             Way w = new Way(0);
    75             w.incomplete = false;
     73            Way w = new Way();
    7674            for (int j = 0; j < 10;j++) {
    7775                w.addNode(lookupNode(ds, i+j));
     
    8482    protected static void populateTestDataSetWithRelations(DataSet ds) {
    8583        for (int i=0;i<10;i++) {
    86             Relation r = new Relation(0);
    87             r.incomplete = false;
     84            Relation r = new Relation();
    8885            r.put("name", "relation-" +i);
    8986            for (int j =0; j < 10; j++) {
     
    139136
    140137    @BeforeClass
    141     public static void  init() throws OsmTransferException, InterruptedException{
     138    public static void  init() throws OsmTransferException {
    142139        logger.info("initializing ...");
    143140        testProperties = new Properties();
Note: See TracChangeset for help on using the changeset viewer.