@Test public void testAllow() { assertFalse(filter1.allow("http: assertTrue(filter1.allow("http: assertFalse(filter1.allow("http: assertFalse(filter2.allow("http: assertTrue(filter2.allow("http: assertTrue(filter2.allow("http: }
public boolean allow(String url) { if (checkFirstPass(url) && !checkSecondPass(url)) { return allowDeny; } return !allowDeny; }
URLPatternFilter { public boolean allow(String url) { if (checkFirstPass(url) && !checkSecondPass(url)) { return allowDeny; } return !allowDeny; } }
URLPatternFilter { public boolean allow(String url) { if (checkFirstPass(url) && !checkSecondPass(url)) { return allowDeny; } return !allowDeny; } URLPatternFilter(boolean allowDeny, List<String> denies,
            List<String> allows); }
URLPatternFilter { public boolean allow(String url) { if (checkFirstPass(url) && !checkSecondPass(url)) { return allowDeny; } return !allowDeny; } URLPatternFilter(boolean allowDeny, List<String> denies,
            List<String> allows); boolean allow(String url); }
URLPatternFilter { public boolean allow(String url) { if (checkFirstPass(url) && !checkSecondPass(url)) { return allowDeny; } return !allowDeny; } URLPatternFilter(boolean allowDeny, List<String> denies,
            List<String> allows); boolean allow(String url);  }