in src/main/java/com/googlesource/gerrit/plugins/replication/pull/filter/RefsFilter.java [46:58]
public boolean match(String refName) {
if (refName == null || Strings.isNullOrEmpty(refName)) {
throw new IllegalArgumentException(
String.format("Ref name cannot be null or empty, but was %s", refName));
}
for (String pattern : refsPatterns) {
if (matchesPattern(refName, pattern)) {
return true;
}
}
return false;
}