Bump odlparent to 6.0.0
[netconf.git] / restconf / websocket-client / src / main / java / org / opendaylight / restconf / websocket / client / ApplicationSettings.java
index 74a6956e386947363e5da44325f3a72edd3574ca..4912ad629b41e93aa02c705e26d7226e2ee29268 100644 (file)
@@ -9,6 +9,7 @@
 package org.opendaylight.restconf.websocket.client;
 
 import com.google.common.base.Preconditions;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.io.File;
 import java.io.PrintWriter;
 import java.io.StringWriter;
@@ -40,6 +41,8 @@ final class ApplicationSettings {
             this.password = password;
         }
 
+        @SuppressFBWarnings(value = "UPM_UNCALLED_PRIVATE_METHOD",
+                justification = "https://github.com/spotbugs/spotbugs/issues/811")
         private static Credentials extractCredentials(final String basicAuthentication) {
             final String[] credentials = basicAuthentication.split(":");
             Preconditions.checkArgument(credentials.length == 2, "Both username and password must be specified in the "
@@ -300,4 +303,4 @@ final class ApplicationSettings {
     Credentials getCredentials() {
         return credentials;
     }
-}
\ No newline at end of file
+}