question: private static String trimVersion ( String apiVersion ) { if ( apiVersion == null ) { return null ; } else { String [ ] versionParts = apiVersion . split ( "/" ) ; return versionParts [ versionParts . length - 1 ] ; } }
target:  Separates apiVersion for apiGroup/apiVersion combination.