Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
david-waltermire authored Jan 4, 2025
1 parent 08549d8 commit 9281a76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public List<? extends IExpression> getChildren() {
}

@Override
protected ISequence<?> evaluate(DynamicContext dynamicContext, ISequence<?> focus) {
protected ISequence<RESULT_TYPE> evaluate(DynamicContext dynamicContext, ISequence<?> focus) {
return ISequence.empty();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public Class<IIntegerItem> getBaseResultType() {
}

@Override
protected ISequence<?> evaluate(DynamicContext dynamicContext, ISequence<?> focus) {
protected ISequence<IIntegerItem> evaluate(DynamicContext dynamicContext, ISequence<?> focus) {
IAnyAtomicItem leftItem = ISequence.of(getLeft().accept(dynamicContext, focus).atomize()).getFirstItem(true);
IAnyAtomicItem rightItem = ISequence.of(getRight().accept(dynamicContext, focus).atomize()).getFirstItem(true);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public List<? extends IExpression> getChildren() {
}

@Override
protected ISequence<? extends IItem> evaluate(DynamicContext dynamicContext, ISequence<?> focus) {
protected ISequence<?> evaluate(DynamicContext dynamicContext, ISequence<?> focus) {
IKeySpecifier specifier = getKeySpecifier();

return ISequence.of(ObjectUtils.notNull(focus.stream()
Expand Down

0 comments on commit 9281a76

Please sign in to comment.