if (branches[k] == null || branchMatcher.matches(branches[k])) {
tokenValues.put(IvyPatternHelper.BRANCH_KEY, tokenValues);
String[] revs = listTokenValues(IvyPatternHelper.REVISION_KEY,
tokenValues);
for (int l = 0; l < revs.length; l++) {
if (revMatcher.matches(revs[l])) {
ret.add(ModuleRevisionId.newInstance(orgs[i], mods[j],
branches[k], revs[l]));
}
}
tokenValues.remove(IvyPatternHelper.REVISION_KEY);