@Test public void testEscapeFix() { final String[][] TESTS = new String[][]{ {"http: {"http: {"http: {"http: {"http: {"http: {"http: }; for (String[] test: TESTS) { assertEquals("The input '" + test[0] + "' should be error corrected as expected", test[1], Normalisation.fixURLErrors(test[0])); } }
public static String fixURLErrors(String url) { return canonicaliseURL(url, false, false); }
Normalisation { public static String fixURLErrors(String url) { return canonicaliseURL(url, false, false); } }
Normalisation { public static String fixURLErrors(String url) { return canonicaliseURL(url, false, false); }  }
Normalisation { public static String fixURLErrors(String url) { return canonicaliseURL(url, false, false); }  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 fixURLErrors(String url) { return canonicaliseURL(url, false, false); }  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);  }