public void addMembersToRelation(Relation relation,ArrayList<OsmElement> members){
  dirty=true;
  for (  OsmElement e : members) {
    undo.save(e);
    RelationMember rm=new RelationMember("",e);
    relation.addMember(rm);
    e.addParentRelation(relation);
  }
  relation.updateState(OsmElement.STATE_MODIFIED);
  insertElementSafe(relation);
}

public void addMembersToRelation ( Relation relation , ArrayList < OsmElement > members ) { dirty = true ; for ( OsmElement e : members ) { undo . save ( e ) ; RelationMember rm = new RelationMember ( "" , e ) ; relation . addMember ( rm ) ; e . addParentRelation ( relation ) ; } relation . updateState ( OsmElement . STATE_MODIFIED ) ; insertElementSafe ( relation ) ; }
add further members without role to an existing relation
