Skip to content

Abstract checkIds and checkForDuplicateUuids to common method #852

Closed
@sebastian-peter

Description

@sebastian-peter

In ValidationUtils, these methods work in a very similar fashion and can probably be abstracted and unified into one method.

To achieve this, maybe defining a function parameter like this could work:

public interface FieldSupplier<A, B extends UniqueEntity> {
  A getField(B entity);
}

Metadata

Metadata

Assignees

Labels

code qualityCode readability or structure is improved

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions