question: public static String changeCase ( String element ) { if ( element == null ) { return null ; } if ( WWNUtility . isValidWWN ( element ) ) { return element . toUpperCase ( ) ; } else { return element . toLowerCase ( ) ; } }
target:  Returns the endpoint with its case changed as appropriate fr its type. Endpoints of type WWN are changed to be upper case. All other types are changed to lower case.