Fix some sonar/checkstyle issues
[netconf.git] / netconf / callhome-protocol / src / main / java / org / opendaylight / netconf / callhome / protocol / CallHomeAuthorization.java
index 03edbdac7cf609b0498eb91a00f33ab113c41a6f..1896b2b0054a81fc2d4862cf8ddab656da965857 100644 (file)
@@ -100,8 +100,8 @@ public abstract class CallHomeAuthorization {
 
         private final String nodeId;
         private final String username;
-        private Set<String> passwords = new HashSet<>();
-        private Set<KeyPair> clientKeys = new HashSet<>();
+        private final Set<String> passwords = new HashSet<>();
+        private final Set<KeyPair> clientKeys = new HashSet<>();
 
         private Builder(String nodeId, String username) {
             this.nodeId = Preconditions.checkNotNull(nodeId);