Skip to content

Commit

Permalink
chore: move @Getter to class level where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
ledex committed May 6, 2024
1 parent 483273d commit daae3d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import de.telekom.jsonfilter.operator.OperatorEnum;
import lombok.Getter;

@Getter
public enum ComparisonOperatorEnum implements OperatorEnum {

EQ("equal"),
Expand All @@ -20,7 +21,6 @@ public enum ComparisonOperatorEnum implements OperatorEnum {
CT("contains"),
NCT("not contains");

@Getter
private final String value;

ComparisonOperatorEnum(String value) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@
import java.util.ArrayList;
import java.util.List;

@Getter
public abstract class LogicOperator implements Operator {
@Getter
final LogicOperatorEnum operator;

@Getter
List<Operator> operators = new ArrayList<>();

protected LogicOperator(LogicOperatorEnum operator) {
Expand Down

0 comments on commit daae3d4

Please sign in to comment.