@Test public void getUniformizedUri_should_return_uri_with_env() { String rootUri = "hdfs: Assert.assertEquals(uri, UriHelper.getUniformizedUri(rootUri)); }
public static String getUniformizedUri(String uri) { String[] splittedUri = uri.split(":"); if (splittedUri.length > 2) { uri = splittedUri[0] + ":" + splittedUri[1]; } uri = uri.replace("hdfs: return concatHdfsUri(PROPERTIES.getProperty(uri, uri)); }
UriHelper { public static String getUniformizedUri(String uri) { String[] splittedUri = uri.split(":"); if (splittedUri.length > 2) { uri = splittedUri[0] + ":" + splittedUri[1]; } uri = uri.replace("hdfs: return concatHdfsUri(PROPERTIES.getProperty(uri, uri)); } }
UriHelper { public static String getUniformizedUri(String uri) { String[] splittedUri = uri.split(":"); if (splittedUri.length > 2) { uri = splittedUri[0] + ":" + splittedUri[1]; } uri = uri.replace("hdfs: return concatHdfsUri(PROPERTIES.getProperty(uri, uri)); } protected  UriHelper(); }
UriHelper { public static String getUniformizedUri(String uri) { String[] splittedUri = uri.split(":"); if (splittedUri.length > 2) { uri = splittedUri[0] + ":" + splittedUri[1]; } uri = uri.replace("hdfs: return concatHdfsUri(PROPERTIES.getProperty(uri, uri)); } protected  UriHelper(); static String getUniformizedUri(String uri); }
UriHelper { public static String getUniformizedUri(String uri) { String[] splittedUri = uri.split(":"); if (splittedUri.length > 2) { uri = splittedUri[0] + ":" + splittedUri[1]; } uri = uri.replace("hdfs: return concatHdfsUri(PROPERTIES.getProperty(uri, uri)); } protected  UriHelper(); static String getUniformizedUri(String uri);  }