Merge "Fix ALOTOF Checkstyle violation, and switch over to enforcement."
[ovsdb.git] / library / impl / src / main / java / org / opendaylight / ovsdb / lib / error / ColumnSchemaNotFoundException.java
index 1579ae0b93be460d93862271f3f13294e8853a88..0491ece51031539f81d438c0a8f0d6107e46cce3 100644 (file)
@@ -9,7 +9,7 @@
 package org.opendaylight.ovsdb.lib.error;
 
 /**
- * This exception is thrown when a ColumnSchema cannot be found
+ * This exception is thrown when a ColumnSchema cannot be found.
  */
 public class ColumnSchemaNotFoundException extends RuntimeException {
 
@@ -22,8 +22,7 @@ public class ColumnSchemaNotFoundException extends RuntimeException {
     }
 
     public static String createMessage(String columnName, String tableName) {
-        String message = "Unable to locate ColumnSchema for " +  columnName + " in " + tableName;
-        return message;
+        return "Unable to locate ColumnSchema for " +  columnName + " in " + tableName;
     }
 
 }