summaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main/java
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2022-11-15 07:31:37 +0000
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2022-11-15 08:01:48 +0000
commit96e5984c8132e1c0623e7dc8f38dac951fa0c42d (patch)
tree4cdc692d05351b9bc3cb9cfaec17b9f2ae88cdb7 /aai-resources/src/main/java
parenta0234adccf748953c4f884275a7bd6036236263c (diff)
Remove raw-type related warnings in resources
Issue-ID: AAI-3597 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I62b183fe5b19a232b48623e26ba3be04433fbb4c
Diffstat (limited to 'aai-resources/src/main/java')
-rw-r--r--aai-resources/src/main/java/org/onap/aai/web/JerseyConfiguration.java2
-rw-r--r--aai-resources/src/main/java/org/onap/aai/web/MicrometerConfiguration.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/aai-resources/src/main/java/org/onap/aai/web/JerseyConfiguration.java b/aai-resources/src/main/java/org/onap/aai/web/JerseyConfiguration.java
index c1dc10e..c22832c 100644
--- a/aai-resources/src/main/java/org/onap/aai/web/JerseyConfiguration.java
+++ b/aai-resources/src/main/java/org/onap/aai/web/JerseyConfiguration.java
@@ -106,7 +106,7 @@ public class JerseyConfiguration {
}
private <T> void throwIfPriorityAnnotationAbsent(Collection<Class<? extends T>> classes) {
- for (Class clazz : classes) {
+ for (Class<? extends T> clazz : classes) {
if (!clazz.isAnnotationPresent(Priority.class)) {
throw new MissingFilterPriorityException(clazz);
}
diff --git a/aai-resources/src/main/java/org/onap/aai/web/MicrometerConfiguration.java b/aai-resources/src/main/java/org/onap/aai/web/MicrometerConfiguration.java
index e41e6d0..a701a20 100644
--- a/aai-resources/src/main/java/org/onap/aai/web/MicrometerConfiguration.java
+++ b/aai-resources/src/main/java/org/onap/aai/web/MicrometerConfiguration.java
@@ -44,7 +44,7 @@ public class MicrometerConfiguration {
public JerseyTagsProvider jerseyTagsProvider() {
return new JerseyTagsProvider() {
@Override
- public Iterable httpRequestTags(RequestEvent event) {
+ public Iterable<Tag> httpRequestTags(RequestEvent event) {
ContainerResponse response = event.getContainerResponse();
return Tags.of(JerseyTags.method(event.getContainerRequest()), JerseyTags.exception(event),
JerseyTags.status(response), JerseyTags.outcome(response), getAaiUriTag(event));