private String portsToString(Set<StoragePort> list){
  StringBuilder buf=new StringBuilder();
  for (  StoragePort port : list) {
    buf.append(port.getPortName() + ", ");
  }
  return buf.toString();
}

private String portsToString ( Set < StoragePort > list ) { StringBuilder buf = new StringBuilder ( ) ; for ( StoragePort port : list ) { buf . append ( port . getPortName ( ) + ", " ) ; } return buf . toString ( ) ; }
takes a set of storageports and returns a string containing the port names for printing .
