Skip to content

Commit

Permalink
expose getFirstOperand and getSecondOperand
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardvanRaak committed Aug 18, 2022
1 parent a3c00bd commit 76a9114
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aom/src/main/java/com/nedap/archie/rules/Operator.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void setOperands(List<Expression> operands) {
}

@JsonIgnore
protected Expression getFirstOperand() {
public Expression getFirstOperand() {
return operands.size() > 0 ? operands.get(0) : null;
}

Expand All @@ -44,7 +44,7 @@ protected void setFirstOperand(Expression firstOperand) {
}

@JsonIgnore
protected Expression getSecondOperand() {
public Expression getSecondOperand() {
return operands.size() > 1 ? operands.get(1) : null;
}

Expand Down

0 comments on commit 76a9114

Please sign in to comment.