@Test public void testHasLeadingSlash() { assertTrue(StringUtils.hasLeadingSlash("/")); assertTrue(StringUtils.hasLeadingSlash("/test")); assertTrue(StringUtils.hasLeadingSlash(" assertTrue(StringUtils.hasLeadingSlash(" assertTrue(StringUtils.hasLeadingSlash("/test/")); assertFalse(StringUtils.hasLeadingSlash(null)); assertFalse(StringUtils.hasLeadingSlash("")); assertFalse(StringUtils.hasLeadingSlash("test")); assertFalse(StringUtils.hasLeadingSlash("test/")); assertFalse(StringUtils.hasLeadingSlash("test }
public static boolean hasLeadingSlash(final String s) { return s != null && isNotBlank(s) && SLASH == s.charAt(0); }
StringUtils { public static boolean hasLeadingSlash(final String s) { return s != null && isNotBlank(s) && SLASH == s.charAt(0); } }
StringUtils { public static boolean hasLeadingSlash(final String s) { return s != null && isNotBlank(s) && SLASH == s.charAt(0); }  }
StringUtils { public static boolean hasLeadingSlash(final String s) { return s != null && isNotBlank(s) && SLASH == s.charAt(0); }  static boolean isBlank(String s); static boolean isNotBlank(String s); static boolean hasLeadingSlash(final String s); static boolean hasTrailingSlash(final String s); static String[] splitBySlash(final String s); static int countSlashes(final String s); static String removePathPrefix(String prefix, String url); }
StringUtils { public static boolean hasLeadingSlash(final String s) { return s != null && isNotBlank(s) && SLASH == s.charAt(0); }  static boolean isBlank(String s); static boolean isNotBlank(String s); static boolean hasLeadingSlash(final String s); static boolean hasTrailingSlash(final String s); static String[] splitBySlash(final String s); static int countSlashes(final String s); static String removePathPrefix(String prefix, String url);  }