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 May 3, 2022
1 parent 4f85aa8 commit 914e9ba
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,12 +35,12 @@ public void setOperands(List<Expression> operands) {
}

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

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

Expand Down

0 comments on commit 914e9ba

Please sign in to comment.