More unit test coverage and code cleanup
[dmaap/datarouter.git] / datarouter-prov / src / main / java / org / onap / dmaap / datarouter / provisioning / beans / Insertable.java
index 6a677ce..ed0815e 100644 (file)
@@ -32,6 +32,7 @@ import java.sql.Connection;
  * @author Robert Eby\r
  * @version $Id: Insertable.java,v 1.2 2013/05/29 14:44:36 eby Exp $\r
  */\r
+@FunctionalInterface\r
 public interface Insertable {\r
     /**\r
      * Insert this object into the DB.\r
@@ -39,5 +40,5 @@ public interface Insertable {
      * @param c the JDBC Connection to use\r
      * @return true if the INSERT succeeded, false otherwise\r
      */\r
-    public boolean doInsert(Connection c);\r
+    boolean doInsert(Connection c);\r
 }\r