Removed unused class fields to prevent static 44/97244/1
authorOleksandr Moliavko <o.moliavko@samsung.com>
Thu, 17 Oct 2019 11:02:46 +0000 (14:02 +0300)
committerOleksandr Moliavko <o.moliavko@samsung.com>
Thu, 17 Oct 2019 11:02:46 +0000 (14:02 +0300)
analyzer warnings

Issue-ID: AAF-837
Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com>
Change-Id: Ibf83cdf848af5b12cf2bc6db132446bfc7fc579b

auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/ca/X509ChainWithIssuer.java
auth/auth-hello/src/main/java/org/onap/aaf/auth/hello/AAF_Hello.java
auth/auth-oauth/src/main/java/org/onap/aaf/auth/oauth/AAF_OAuth.java

index fde94b4..32fd906 100644 (file)
@@ -34,7 +34,6 @@ import org.onap.aaf.cadi.configure.Factory;
 
 public class X509ChainWithIssuer extends X509andChain {
     private String issuerDN;
-    public X509Certificate caX509;
 
     public X509ChainWithIssuer(X509ChainWithIssuer orig, X509Certificate x509) {
         super(x509,orig.trustChain);
index e5366ac..49ac8b1 100644 (file)
@@ -26,7 +26,6 @@ import java.util.Map;
 
 import javax.servlet.Filter;
 
-import org.onap.aaf.auth.cache.Cache.Dated;
 import org.onap.aaf.auth.env.AuthzEnv;
 import org.onap.aaf.auth.env.AuthzTrans;
 import org.onap.aaf.auth.env.AuthzTransFilter;
@@ -49,7 +48,6 @@ import org.onap.aaf.misc.env.Env;
 
 public class AAF_Hello extends AbsService<AuthzEnv,AuthzTrans> {
     public enum API{TOKEN_REQ, TOKEN,INTROSPECT, ERROR,VOID};
-    public Map<String, Dated> cacheUser;
     public AAFAuthn<?> aafAuthn;
     public AAFLurPerm aafLurPerm;
 
@@ -57,9 +55,6 @@ public class AAF_Hello extends AbsService<AuthzEnv,AuthzTrans> {
      * Construct AuthzAPI with all the Context Supporting Routes that Authz needs
      *
      * @param env
-     * @param si
-     * @param dm
-     * @param decryptor
      * @throws APIException
      */
     public AAF_Hello(final AuthzEnv env) throws Exception {
index 6f04ed5..e28e2ff 100644 (file)
@@ -79,9 +79,6 @@ public class AAF_OAuth extends AbsService<AuthzEnv,AuthzTrans> {
      * Construct AuthzAPI with all the Context Supporting Routes that Authz needs
      *
      * @param env
-     * @param si
-     * @param dm
-     * @param decryptor
      * @throws APIException
      */
     public AAF_OAuth(final AuthzEnv env) throws Exception {