Fix misspelled argument name

Change-Id: I6c2b251dd7987855a054b99fec73a6aaba9c3ab7
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin 2015-07-20 14:26:46 +02:00 committed by Edwin Kempin
parent 2efa6030fd
commit 159f5bcfcb

View File

@ -68,7 +68,7 @@ public class VisibleRefFilter extends AbstractAdvertiseRefsHook {
this.showMetadata = showMetadata; this.showMetadata = showMetadata;
} }
public Map<String, Ref> filter(Map<String, Ref> refs, boolean filterTagsSeperately) { public Map<String, Ref> filter(Map<String, Ref> refs, boolean filterTagsSeparately) {
if (projectCtl.allRefsAreVisible(ImmutableSet.of(RefNames.REFS_CONFIG))) { if (projectCtl.allRefsAreVisible(ImmutableSet.of(RefNames.REFS_CONFIG))) {
Map<String, Ref> r = Maps.newHashMap(refs); Map<String, Ref> r = Maps.newHashMap(refs);
if (!projectCtl.controlForRef(RefNames.REFS_CONFIG).isVisible()) { if (!projectCtl.controlForRef(RefNames.REFS_CONFIG).isVisible()) {
@ -136,11 +136,11 @@ public class VisibleRefFilter extends AbstractAdvertiseRefsHook {
// If we have tags that were deferred, we need to do a revision walk // If we have tags that were deferred, we need to do a revision walk
// to identify what tags we can actually reach, and what we cannot. // to identify what tags we can actually reach, and what we cannot.
// //
if (!deferredTags.isEmpty() && (!result.isEmpty() || filterTagsSeperately)) { if (!deferredTags.isEmpty() && (!result.isEmpty() || filterTagsSeparately)) {
TagMatcher tags = tagCache.get(projectName).matcher( TagMatcher tags = tagCache.get(projectName).matcher(
tagCache, tagCache,
db, db,
filterTagsSeperately ? filter(db.getAllRefs()).values() : result.values()); filterTagsSeparately ? filter(db.getAllRefs()).values() : result.values());
for (Ref tag : deferredTags) { for (Ref tag : deferredTags) {
if (tags.isReachable(tag)) { if (tags.isReachable(tag)) {
result.put(tag.getName(), tag); result.put(tag.getName(), tag);