Authz unit test and code cleanup
[dmaap/datarouter.git] / datarouter-prov / src / main / java / org / onap / dmaap / datarouter / authz / impl / AuthRespSupplementImpl.java
index d995270..b61c00e 100644 (file)
@@ -36,17 +36,17 @@ import org.onap.dmaap.datarouter.authz.AuthorizationResponseSupplement;
  */\r
 public class AuthRespSupplementImpl implements AuthorizationResponseSupplement {\r
 \r
-    private String id = null;\r
-    private Map<String, String> attributes = null;\r
+    private String id;\r
+    private Map<String, String> attributes;\r
 \r
     /** Constructor, available within the package.\r
      *\r
      * @param id  The identifier for the advice or obligation element\r
      * @param attributes The attributes (name-value pairs) for the advice or obligation element.\r
      */\r
-    AuthRespSupplementImpl (String id, Map<String, String> attributes) {\r
+    AuthRespSupplementImpl(String id, Map<String, String> attributes) {\r
         this.id = id;\r
-        this.attributes = new HashMap<String,String>(attributes);\r
+        this.attributes = new HashMap<>(attributes);\r
     }\r
 \r
     /** Return the identifier for the supplementary information element.\r