@Test public void testRemoveHeadSlash() { Assert.assertEquals("home/", removeHeadSlash("/home/")); Assert.assertEquals("home/", removeHeadSlash("/home Assert.assertEquals("home/user/", removeHeadSlash(" }
public static String removeHeadSlash(String path) { String normalizedPath = normalize(path); if (normalizedPath.startsWith(SLASH)) { normalizedPath = normalizedPath.substring(SLASH.length()); } return normalizedPath; }
PathUtils { public static String removeHeadSlash(String path) { String normalizedPath = normalize(path); if (normalizedPath.startsWith(SLASH)) { normalizedPath = normalizedPath.substring(SLASH.length()); } return normalizedPath; } }
PathUtils { public static String removeHeadSlash(String path) { String normalizedPath = normalize(path); if (normalizedPath.startsWith(SLASH)) { normalizedPath = normalizedPath.substring(SLASH.length()); } return normalizedPath; }  }
PathUtils { public static String removeHeadSlash(String path) { String normalizedPath = normalize(path); if (normalizedPath.startsWith(SLASH)) { normalizedPath = normalizedPath.substring(SLASH.length()); } return normalizedPath; }  static String normalize(String path); static String removeHeadSlash(String path); }
PathUtils { public static String removeHeadSlash(String path) { String normalizedPath = normalize(path); if (normalizedPath.startsWith(SLASH)) { normalizedPath = normalizedPath.substring(SLASH.length()); } return normalizedPath; }  static String normalize(String path); static String removeHeadSlash(String path); static final String SLASH; static final String DOUBLE_SLASH; }