private static Data parseName(Set me,Set peer){
  if (me == null) {
    throw new NullPointerException("local principals must be non-empty");
  }
 else   if (me.isEmpty()) {
    throw new IllegalArgumentException("local principals must be non-empty");
  }
  Data data=new Data();
  StringBuffer b=new StringBuffer();
  data.me=cons(me,b);
  if (peer != null && !peer.isEmpty()) {
    b.append(" peer ");
    data.peer=cons(peer,b);
  }
  data.name=b.toString();
  return data;
}

private static Data parseName ( Set me , Set peer ) { if ( me == null ) { throw new NullPointerException ( "local principals must be non-empty" ) ; } else if ( me . isEmpty ( ) ) { throw new IllegalArgumentException ( "local principals must be non-empty" ) ; } Data data = new Data ( ) ; StringBuffer b = new StringBuffer ( ) ; data . me = cons ( me , b ) ; if ( peer != null && ! peer . isEmpty ( ) ) { b . append ( " peer " ) ; data . peer = cons ( peer , b ) ; } data . name = b . toString ( ) ; return data ; }
constructs the target name and transient field data for the specified principal sets .
