Merge "Adding JUNITs for ONAP-PAP-REST"
[policy/engine.git] / ONAP-XACML / src / main / java / org / onap / policy / xacml / std / pip / engines / aaf / AAFEngine.java
index ee75c5f..de35e0e 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * ONAP-XACML
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -224,7 +224,7 @@ public class AAFEngine extends StdConfigurableEngine {
                /*
                 * Drop the issuer and see if the request matches any of our supported queries
                 */
-               PIPRequest pipRequestSupported  = (pipRequest.getIssuer() == null ? pipRequest : new StdPIPRequest(pipRequest.getCategory(), pipRequest.getAttributeId(), pipRequest.getDataTypeId()));
+               PIPRequest pipRequestSupported  = pipRequest.getIssuer() == null ? pipRequest : new StdPIPRequest(pipRequest.getCategory(), pipRequest.getAttributeId(), pipRequest.getDataTypeId());
                if (!mapSupportedAttributes.containsKey(pipRequestSupported)) {
                        this.logger.debug("Requested attribute '" + pipRequest.toString() + "' is not supported");
                        return StdPIPResponse.PIP_RESPONSE_EMPTY;