@Test public void testShortNames() { assertThat(qavNameMatcher.matches("xy.**", "xy"), is(true)); assertThat(qavNameMatcher.matches("xy.*", "xy"), is(false)); assertThat(qavNameMatcher.matches("xy", "xy"), is(true)); assertThat(qavNameMatcher.matches("v*", "v1"), is(true)); assertThat(qavNameMatcher.matches("v*", "x1"), is(false)); }
public boolean matches(String pattern, String name) { checkNotNull(pattern, "pattern"); checkNotNull(name, "name"); return antPathMatcher.match(pattern, name); }
QavNameMatcher { public boolean matches(String pattern, String name) { checkNotNull(pattern, "pattern"); checkNotNull(name, "name"); return antPathMatcher.match(pattern, name); } }
QavNameMatcher { public boolean matches(String pattern, String name) { checkNotNull(pattern, "pattern"); checkNotNull(name, "name"); return antPathMatcher.match(pattern, name); } QavNameMatcher();  QavNameMatcher(String pathSeparator); }
QavNameMatcher { public boolean matches(String pattern, String name) { checkNotNull(pattern, "pattern"); checkNotNull(name, "name"); return antPathMatcher.match(pattern, name); } QavNameMatcher();  QavNameMatcher(String pathSeparator); boolean matches(String pattern, String name); }
QavNameMatcher { public boolean matches(String pattern, String name) { checkNotNull(pattern, "pattern"); checkNotNull(name, "name"); return antPathMatcher.match(pattern, name); } QavNameMatcher();  QavNameMatcher(String pathSeparator); boolean matches(String pattern, String name);  }