summaryrefslogtreecommitdiffstats
path: root/a1-policy-management
diff options
context:
space:
mode:
authorKAPIL SINGAL <ks220y@att.com>2020-09-17 13:54:26 +0000
committerGerrit Code Review <gerrit@onap.org>2020-09-17 13:54:26 +0000
commite800aeabc9b7c30fdf2eedf799b17f00e8272a7e (patch)
tree08883e33eb9921d7585a6fbe39739bc97711d406 /a1-policy-management
parent5399db293b64f110948a7d23f41e9282d78b362b (diff)
parent85d051e896e58f6dc8e34b7121963a768307ae69 (diff)
Merge "Remove Sonar issues"
Diffstat (limited to 'a1-policy-management')
-rw-r--r--a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/SwaggerConfig.java4
-rw-r--r--a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/PolicyController.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/SwaggerConfig.java b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/SwaggerConfig.java
index 89058a1c..61c03ba8 100644
--- a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/SwaggerConfig.java
+++ b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/SwaggerConfig.java
@@ -99,8 +99,8 @@ public class SwaggerConfig extends WebMvcConfigurationSupport {
.build();
}
- @SuppressWarnings("rawtypes") // VendorExtension is a raw type. References to generic type VendorExtension<T>
- // should be parameterizedJava(16777788)
+ @SuppressWarnings("java:S3740") // VendorExtension is a raw type. References to generic type VendorExtension<T>
+ // should be parameterizedJava(16777788)
private static List<VendorExtension> vendorExtentions() {
final String URN = "60f9a0e7-343f-43bf-9194-d8d65688d465";
List<VendorExtension> extentions = new ArrayList<>();
diff --git a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/PolicyController.java b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/PolicyController.java
index 8d3ecf6c..6c9012bc 100644
--- a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/PolicyController.java
+++ b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/PolicyController.java
@@ -66,7 +66,7 @@ import org.springframework.web.reactive.function.client.WebClientResponseExcepti
import reactor.core.publisher.Mono;
@RestController("PolicyControllerV2")
-@Api(tags = {Consts.V2_API_NAME}, description = "Policy management")
+@Api(tags = {Consts.V2_API_NAME})
public class PolicyController {
public static class RejectionException extends Exception {