Replace switch statement with if-else block

Eclipse warns about missing case statements for the Change.Status enum,
but since we only need to check NEW it makes more sense to replace the
switch with an if-else than to add empty cases for the other values.

Change-Id: Ia76057da37adca1309c5180082b968bac7d92605
diff --git a/src/main/java/com/googlesource/gerrit/plugins/forcedraft/ForceDraft.java b/src/main/java/com/googlesource/gerrit/plugins/forcedraft/ForceDraft.java
index 88ac0d4..fe8991c 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/forcedraft/ForceDraft.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/forcedraft/ForceDraft.java
@@ -217,15 +217,12 @@
    */
   private void updatePatchSet() throws OrmException {
     Change.Status changeStatus = parentChange.getStatus();
-    switch (changeStatus) {
-      case NEW:
-        setPatchSetAsDraft();
-        updateChange();
-        break;
-      default:
-        sendUserInfo("Unable to set patch set as draft, change is "
-            + getStatusName(changeStatus));
-        break;
+    if (changeStatus == Change.Status.NEW) {
+      setPatchSetAsDraft();
+      updateChange();
+    } else {
+      sendUserInfo("Unable to set patch set as draft, change is "
+          + getStatusName(changeStatus));
     }
   }