diff --git a/dashboard-server/src/main/java/dashboard/pdp/PdpServiceImpl.java b/dashboard-server/src/main/java/dashboard/pdp/PdpServiceImpl.java index 8c428d977..129856859 100644 --- a/dashboard-server/src/main/java/dashboard/pdp/PdpServiceImpl.java +++ b/dashboard-server/src/main/java/dashboard/pdp/PdpServiceImpl.java @@ -182,7 +182,7 @@ public List allowedAttributes() { RequestEntity request = buildGetRequest("/protected/attributes/"); return executeWithExceptionLogging(() -> { - ResponseEntity> response = pdpRestTemplate.exchange(request, new ParameterizedTypeReference>() { + ResponseEntity> response = pdpRestTemplate.exchange(request, new ParameterizedTypeReference<>() { }); return response.getBody().stream().map(aa -> new Attribute(aa.attributeId, aa.value)).collect(Collectors.toList()); });