add final to method arguments

This commit is contained in:
Michael Hoennig 2024-10-11 11:24:17 +02:00
parent b4fc193554
commit b9324400fb
2 changed files with 8 additions and 8 deletions

View File

@ -47,10 +47,10 @@ public class HsOfficeRelationController implements HsOfficeRelationsApi {
public ResponseEntity<List<HsOfficeRelationResource>> listRelations( public ResponseEntity<List<HsOfficeRelationResource>> listRelations(
final String currentSubject, final String currentSubject,
final String assumedRoles, final String assumedRoles,
UUID personUuid, final UUID personUuid,
HsOfficeRelationTypeResource relationType, final HsOfficeRelationTypeResource relationType,
String personData, final String personData,
String contactData) { final String contactData) {
context.define(currentSubject, assumedRoles); context.define(currentSubject, assumedRoles);
final List<HsOfficeRelationRbacEntity> entities = final List<HsOfficeRelationRbacEntity> entities =

View File

@ -52,10 +52,10 @@ public interface HsOfficeRelationRbacRepository extends Repository<HsOfficeRelat
OR lower(CAST(rel.contact.phoneNumbers AS String)) LIKE :contactData ) OR lower(CAST(rel.contact.phoneNumbers AS String)) LIKE :contactData )
""") """)
List<HsOfficeRelationRbacEntity> findRelationRelatedToPersonUuidRelationTypePersonAndContactDataImpl( List<HsOfficeRelationRbacEntity> findRelationRelatedToPersonUuidRelationTypePersonAndContactDataImpl(
UUID personUuid, final UUID personUuid,
String relationType, final String relationType,
String personData, final String personData,
String contactData); final String contactData);
HsOfficeRelationRbacEntity save(final HsOfficeRelationRbacEntity entity); HsOfficeRelationRbacEntity save(final HsOfficeRelationRbacEntity entity);