Skip to content
Snippets Groups Projects
Commit 60e60692 authored by Jan Zickermann's avatar Jan Zickermann
Browse files

OZG-6054 Use RequireArgsConstructor

parent 3d67685d
No related branches found
No related tags found
No related merge requests found
...@@ -4,22 +4,22 @@ import java.util.List; ...@@ -4,22 +4,22 @@ import java.util.List;
import jakarta.validation.Valid; import jakarta.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import lombok.Getter; import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter; import lombok.Setter;
@Service @Service
@RequiredArgsConstructor
public class XtaCurrentIdentifierService { public class XtaCurrentIdentifierService {
@Setter @Setter
@Getter @Getter
private String currentIdentifier; private String currentIdentifier;
@Autowired
@Valid @Valid
private XtaProperties properties; private final XtaProperties properties;
public List<String> getIdentifiers() { public List<String> getIdentifiers() {
return properties.getIdentifiers(); return properties.getIdentifiers();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment