question: 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 ; }
target:  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.