diff options
Diffstat (limited to 'gerrit-server/src/main/java/com/google/gerrit/server/git/BanCommitResult.java')
-rw-r--r-- | gerrit-server/src/main/java/com/google/gerrit/server/git/BanCommitResult.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gerrit-server/src/main/java/com/google/gerrit/server/git/BanCommitResult.java b/gerrit-server/src/main/java/com/google/gerrit/server/git/BanCommitResult.java index baa601399e..9fadae29ca 100644 --- a/gerrit-server/src/main/java/com/google/gerrit/server/git/BanCommitResult.java +++ b/gerrit-server/src/main/java/com/google/gerrit/server/git/BanCommitResult.java @@ -23,15 +23,15 @@ public class BanCommitResult { private final List<ObjectId> alreadyBannedCommits = new ArrayList<>(4); private final List<ObjectId> ignoredObjectIds = new ArrayList<>(4); - public void commitBanned(final ObjectId commitId) { + public void commitBanned(ObjectId commitId) { newlyBannedCommits.add(commitId); } - public void commitAlreadyBanned(final ObjectId commitId) { + public void commitAlreadyBanned(ObjectId commitId) { alreadyBannedCommits.add(commitId); } - public void notACommit(final ObjectId id) { + public void notACommit(ObjectId id) { ignoredObjectIds.add(id); } |