Skip to content
Snippets Groups Projects
Commit 16fb57da authored by OZG-Cloud Team's avatar OZG-Cloud Team
Browse files

OZG-6054 Use RequireArgsConstructor

parent 3a36b810
No related branches found
No related tags found
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