@Test public void testNotValidUrls() { assertFalse(UrlUtils.isValid("htt: assertFalse(UrlUtils.isValid(": }
public static boolean isValid(String url) { if (url == null || url.isEmpty()) return false; url = url.toLowerCase(); return url.startsWith("http:") || url.startsWith("https:"); }
UrlUtils { public static boolean isValid(String url) { if (url == null || url.isEmpty()) return false; url = url.toLowerCase(); return url.startsWith("http:") || url.startsWith("https:"); } }
UrlUtils { public static boolean isValid(String url) { if (url == null || url.isEmpty()) return false; url = url.toLowerCase(); return url.startsWith("http:") || url.startsWith("https:"); }  }
UrlUtils { public static boolean isValid(String url) { if (url == null || url.isEmpty()) return false; url = url.toLowerCase(); return url.startsWith("http:") || url.startsWith("https:"); }  static boolean isValid(String url); }
UrlUtils { public static boolean isValid(String url) { if (url == null || url.isEmpty()) return false; url = url.toLowerCase(); return url.startsWith("http:") || url.startsWith("https:"); }  static boolean isValid(String url);  }