More unit test coverage and code cleanup
[dmaap/datarouter.git] / datarouter-prov / src / main / java / org / onap / dmaap / datarouter / provisioning / beans / JSONable.java
index 8231327..44cea0f 100644 (file)
@@ -32,11 +32,12 @@ import org.json.JSONObject;
  * @author Robert Eby\r
  * @version $Id: JSONable.java,v 1.1 2013/04/26 21:00:26 eby Exp $\r
  */\r
+@FunctionalInterface\r
 public interface JSONable {\r
     /**\r
      * Get a JSONObject representing this object.\r
      *\r
      * @return the JSONObject\r
      */\r
-    public JSONObject asJSONObject();\r
+    JSONObject asJSONObject();\r
 }\r