@Test public void testEncodedTrailingSlash() { String[][] TESTS = new String[][]{ { "https: "http: }, { "https: "http: } }; for (String[] test: TESTS) { assertEquals("Default normalisation should yield the expected result for " + test[0], test[1], Normalisation.canonicaliseURL(test[0])); } }
public static String canonicaliseURL(String url) { return canonicaliseURL(url, true, true); }
Normalisation { public static String canonicaliseURL(String url) { return canonicaliseURL(url, true, true); } }
Normalisation { public static String canonicaliseURL(String url) { return canonicaliseURL(url, true, true); }  }
Normalisation { public static String canonicaliseURL(String url) { return canonicaliseURL(url, true, true); }  static String sanitiseWARCHeaderValue(String value); static String canonicaliseHost(String host); static String canonicaliseURL(String url); static String fixURLErrors(String url); static String resolveRelative(String url, String relative); static String resolveRelative(String url, String relative, boolean normalise); static String canonicaliseURL(String url, boolean allowHighOrder, boolean createUnambiguous); }
Normalisation { public static String canonicaliseURL(String url) { return canonicaliseURL(url, true, true); }  static String sanitiseWARCHeaderValue(String value); static String canonicaliseHost(String host); static String canonicaliseURL(String url); static String fixURLErrors(String url); static String resolveRelative(String url, String relative); static String resolveRelative(String url, String relative, boolean normalise); static String canonicaliseURL(String url, boolean allowHighOrder, boolean createUnambiguous);  }