commit | 4dc95d6ead6eae27419f53dea398c5b52b963e51 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Fri May 26 14:07:40 2017 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Fri May 26 14:07:40 2017 +0100 |
tree | 2d432ed0a9871ffc083918d990bf67d6ddc40cdc | |
parent | a6f3272a1c43bbd5d45aa2535ed53b8ae4632e50 [diff] |
Fix typo on comment added events handler Change-Id: I7bfeb1461b7ce0abfb89021fd7a22f40503cff51
diff --git a/src/main/java/com/criteo/gerrit/plugins/automerge/AutomaticMerger.java b/src/main/java/com/criteo/gerrit/plugins/automerge/AutomaticMerger.java index 5b222cd..87a3092 100644 --- a/src/main/java/com/criteo/gerrit/plugins/automerge/AutomaticMerger.java +++ b/src/main/java/com/criteo/gerrit/plugins/automerge/AutomaticMerger.java
@@ -95,7 +95,7 @@ onPatchSetCreated((PatchSetCreatedEvent)event); } else if (event instanceof CommentAddedEvent) { - onCommendAdded((CommentAddedEvent)event); + onCommentAdded((CommentAddedEvent)event); } } @@ -114,7 +114,7 @@ } } - private void onCommendAdded(final CommentAddedEvent newComment) { + private void onCommentAdded(final CommentAddedEvent newComment) { if (!shouldProcessCommentEvent(newComment)) { return; }