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

OZG-6054 Use RequireArgsConstructor

parent 3d67685d
Branches
Tags
No related merge requests found
......@@ -4,22 +4,22 @@ import java.util.List;
import jakarta.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
@Service
@RequiredArgsConstructor
public class XtaCurrentIdentifierService {
@Setter
@Getter
private String currentIdentifier;
@Autowired
@Valid
private XtaProperties properties;
private final XtaProperties properties;
public List<String> 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