Fix checkstyle violations in sal-common-util
[controller.git] / opendaylight / md-sal / sal-common-util / src / main / java / org / opendaylight / controller / sal / common / util / Arguments.java
index 17ce5dffcf0b97ea18c86774da3acaee428ee6ae..d09024aea0ccf73a50006c9c28bdca4e3b7a9aa1 100644 (file)
@@ -14,8 +14,7 @@ public final class Arguments {
     }
 
     /**
-     * Checks if value is instance of provided class
-     *
+     * Checks if value is instance of provided class.
      *
      * @param value Value to check
      * @param type Type to check
@@ -23,7 +22,7 @@ public final class Arguments {
      */
     @SuppressWarnings("unchecked")
     public static <T> T checkInstanceOf(Object value, Class<T> type) {
-        if(!type.isInstance(value)) {
+        if (!type.isInstance(value)) {
             throw new IllegalArgumentException(String.format("Value %s is not of type %s", value, type));
         }
         return (T) value;