@Test public void joinPathsTest() { assertEquals("one/two/three/four", join("one assertEquals("/one/two/three/four", join(" assertEquals("/one/two/three/four", join(" }
public static String join(String path1, String... path2) { String path = normalizePath(path1 + PATH_SEPARATOR + joiner().join(path2)); return path1.startsWith(PATH_SEPARATOR) ? PATH_SEPARATOR + path : path; }
ResourcePath { public static String join(String path1, String... path2) { String path = normalizePath(path1 + PATH_SEPARATOR + joiner().join(path2)); return path1.startsWith(PATH_SEPARATOR) ? PATH_SEPARATOR + path : path; } }
ResourcePath { public static String join(String path1, String... path2) { String path = normalizePath(path1 + PATH_SEPARATOR + joiner().join(path2)); return path1.startsWith(PATH_SEPARATOR) ? PATH_SEPARATOR + path : path; }  }
ResourcePath { public static String join(String path1, String... path2) { String path = normalizePath(path1 + PATH_SEPARATOR + joiner().join(path2)); return path1.startsWith(PATH_SEPARATOR) ? PATH_SEPARATOR + path : path; }  static String normalizePath(String path); static String normalizeDirectory(String path); static String join(String path1, String... path2); }
ResourcePath { public static String join(String path1, String... path2) { String path = normalizePath(path1 + PATH_SEPARATOR + joiner().join(path2)); return path1.startsWith(PATH_SEPARATOR) ? PATH_SEPARATOR + path : path; }  static String normalizePath(String path); static String normalizeDirectory(String path); static String join(String path1, String... path2);  }