Example #1
0
 public void visit(Way w) {
   if (w.isNewOrUndeleted() || w.isModified() || w.isDeleted()) {
     // upload new ways as well as modified and deleted ones
     hull.add(w);
     for (Node n : w.getNodes()) {
       // we upload modified nodes even if they aren't in the current
       // selection.
       n.visit(this);
     }
   }
 }