Fix checkstyle issues to enforce it
[controller.git] / opendaylight / config / config-manager-facade-xml / src / main / java / org / opendaylight / controller / config / facade / xml / TestOption.java
index 312717ad90a9be1cb50aa6b72c7ebd3a6c2cbe0f..b5b296066638aaacecc9ef0939d40e71521c0250 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
+ * Copyright (c) 2015, 2017 Cisco Systems, Inc. and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -15,20 +15,19 @@ public enum TestOption {
 
     public static TestOption getFromXmlName(final String testOptionXmlName) {
         switch (testOptionXmlName) {
-        case "test-only":
-            return testOnly;
-        case "test-then-set":
-            return testThenSet;
-        case "set":
-            return set;
-        default:
-            throw new IllegalArgumentException("Unsupported test option " + testOptionXmlName + " supported: "
-                    + Arrays.toString(TestOption.values()));
+            case "test-only":
+                return testOnly;
+            case "test-then-set":
+                return testThenSet;
+            case "set":
+                return set;
+            default:
+                throw new IllegalArgumentException("Unsupported test option " + testOptionXmlName + " supported: "
+                        + Arrays.toString(TestOption.values()));
         }
     }
 
     public static TestOption getDefault() {
         return testThenSet;
     }
-
 }