Fix 'Statement unnecessarily nested within else clause' warnings

Change-Id: Ief813016e7794e3c08e8e22931129ea4bcf607e0
diff --git a/src/main/java/com/googlesource/gerrit/plugins/validators/CommitMessageLengthValidation.java b/src/main/java/com/googlesource/gerrit/plugins/validators/CommitMessageLengthValidation.java
index ff7f1aa..92714ef 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/validators/CommitMessageLengthValidation.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/validators/CommitMessageLengthValidation.java
@@ -73,9 +73,8 @@
     if (rejectTooLong) {
       messagesList.add(new CommitValidationMessage(message, true));
       throw new CommitValidationException("Commit length validation failed", messagesList);
-    } else {
-      messagesList.add(new CommitValidationMessage("(W) " + message, false));
     }
+    messagesList.add(new CommitValidationMessage("(W) " + message, false));
   }
 
   @Override