public static List<String> changeCase(List<String> list){
  if (list != null) {
    List<String> result=new ArrayList<String>();
    for (    String element : list) {
      result.add(changeCase(element));
    }
    return result;
  }
  return null;
}

public static List < String > changeCase ( List < String > list ) { if ( list != null ) { List < String > result = new ArrayList < String > ( ) ; for ( String element : list ) { result . add ( changeCase ( element ) ) ; } return result ; } return null ; }
creates a new list of endpoints modified to upper or lower case based on the endpoint type . endpoints of type wwn are changed to be upper case . all other types are changed to lower case .
