question: private static String normalizedURL ( String host , int port , String path ) { if ( path == null || path . length ( ) == 0 ) { path = "/" ; } return "http://" + host + ":" + port + path ; }
target:  Create a URL out of the given parameters, translate an empty/null path to '/'