From b9324400fb4fa6326afb160aa8b5dabf1e42a4db Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Fri, 11 Oct 2024 11:24:17 +0200 Subject: [PATCH] add final to method arguments --- .../hs/office/relation/HsOfficeRelationController.java | 8 ++++---- .../office/relation/HsOfficeRelationRbacRepository.java | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/net/hostsharing/hsadminng/hs/office/relation/HsOfficeRelationController.java b/src/main/java/net/hostsharing/hsadminng/hs/office/relation/HsOfficeRelationController.java index 635bf923..29078bb3 100644 --- a/src/main/java/net/hostsharing/hsadminng/hs/office/relation/HsOfficeRelationController.java +++ b/src/main/java/net/hostsharing/hsadminng/hs/office/relation/HsOfficeRelationController.java @@ -47,10 +47,10 @@ public class HsOfficeRelationController implements HsOfficeRelationsApi { public ResponseEntity> listRelations( final String currentSubject, final String assumedRoles, - UUID personUuid, - HsOfficeRelationTypeResource relationType, - String personData, - String contactData) { + final UUID personUuid, + final HsOfficeRelationTypeResource relationType, + final String personData, + final String contactData) { context.define(currentSubject, assumedRoles); final List entities = diff --git a/src/main/java/net/hostsharing/hsadminng/hs/office/relation/HsOfficeRelationRbacRepository.java b/src/main/java/net/hostsharing/hsadminng/hs/office/relation/HsOfficeRelationRbacRepository.java index 3b9881df..e5761a5c 100644 --- a/src/main/java/net/hostsharing/hsadminng/hs/office/relation/HsOfficeRelationRbacRepository.java +++ b/src/main/java/net/hostsharing/hsadminng/hs/office/relation/HsOfficeRelationRbacRepository.java @@ -52,10 +52,10 @@ public interface HsOfficeRelationRbacRepository extends Repository findRelationRelatedToPersonUuidRelationTypePersonAndContactDataImpl( - UUID personUuid, - String relationType, - String personData, - String contactData); + final UUID personUuid, + final String relationType, + final String personData, + final String contactData); HsOfficeRelationRbacEntity save(final HsOfficeRelationRbacEntity entity);