diff --git a/gerrit-server/src/main/java/com/google/gerrit/server/git/VisibleRefFilter.java b/gerrit-server/src/main/java/com/google/gerrit/server/git/VisibleRefFilter.java index 9ccf153e03..a4684a1842 100644 --- a/gerrit-server/src/main/java/com/google/gerrit/server/git/VisibleRefFilter.java +++ b/gerrit-server/src/main/java/com/google/gerrit/server/git/VisibleRefFilter.java @@ -68,7 +68,7 @@ public class VisibleRefFilter extends AbstractAdvertiseRefsHook { this.showMetadata = showMetadata; } - public Map filter(Map refs, boolean filterTagsSeperately) { + public Map filter(Map refs, boolean filterTagsSeparately) { if (projectCtl.allRefsAreVisible(ImmutableSet.of(RefNames.REFS_CONFIG))) { Map r = Maps.newHashMap(refs); 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 // 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( tagCache, db, - filterTagsSeperately ? filter(db.getAllRefs()).values() : result.values()); + filterTagsSeparately ? filter(db.getAllRefs()).values() : result.values()); for (Ref tag : deferredTags) { if (tags.isReachable(tag)) { result.put(tag.getName(), tag);