From 7bef9368209ae37d204d71553990c34914b7e775 Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Mon, 13 May 2024 14:04:25 +0200 Subject: [PATCH] remove uncommented code with TODO #528 --- .../irs/policystore/controllers/PolicyStoreController.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java index d25100f0d1..10968b392d 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/controllers/PolicyStoreController.java @@ -246,8 +246,6 @@ public void deleteAllowedPolicy(@PathVariable("policyId") final String policyId) @ResponseStatus(HttpStatus.OK) @PreAuthorize("hasAuthority('" + IrsRoles.ADMIN_IRS + "')") public void removeAllowedPolicyFromBpnl( - // TODO (#528): add validation - //@ValidPolicyId @PathVariable("policyId") final String policyId, // @Pattern(regexp = BPN_REGEX, message = " Invalid BPN.") // @PathVariable("bpnl") final String bpnl) {