diff --git a/java/com/google/gerrit/server/git/receive/ReceiveCommits.java b/java/com/google/gerrit/server/git/receive/ReceiveCommits.java index 516dcd45e1..d4c013dee1 100644 --- a/java/com/google/gerrit/server/git/receive/ReceiveCommits.java +++ b/java/com/google/gerrit/server/git/receive/ReceiveCommits.java @@ -45,7 +45,6 @@ import com.google.common.base.Throwables; import com.google.common.collect.BiMap; import com.google.common.collect.HashBiMap; import com.google.common.collect.ImmutableList; -import com.google.common.collect.ImmutableListMultimap; import com.google.common.collect.ImmutableSetMultimap; import com.google.common.collect.Iterables; import com.google.common.collect.LinkedListMultimap; @@ -1486,19 +1485,6 @@ class ReceiveCommits { } } - /** - * Gets an unmodifiable view of the pushOptions. - * - *

The collection is empty if the client does not support push options, or if the client did - * not send any options. - * - * @return an unmodifiable view of pushOptions. - */ - @Nullable - ListMultimap getPushOptions() { - return ImmutableListMultimap.copyOf(pushOptions); - } - private void parseMagicBranch(ReceiveCommand cmd) throws PermissionBackendException { // Permit exactly one new change request per push. if (magicBranch != null) {