new UrlFileName( scheme, ncHostname, Integer.parseInt( ncPort ), -1, ncUsername, ncPassword, null, null, null ); clusterURL = file.getURI(); if ( clusterURL.endsWith( "/" ) ) { clusterURL = clusterURL.substring( 0, clusterURL.lastIndexOf( "/" ) );
new UrlFileName( scheme, ncHostname, Integer.parseInt( ncPort ), -1, ncUsername, ncPassword, null, null, null ); clusterURL = file.getURI(); if ( clusterURL.endsWith( "/" ) ) { clusterURL = clusterURL.substring( 0, clusterURL.lastIndexOf( "/" ) );