Skip to content

Commit

Permalink
BETWEEN should use the default Java inclusion unless specified, Fix #137
Browse files Browse the repository at this point in the history
  • Loading branch information
minborg committed Jul 21, 2021
1 parent 420254e commit 8916f5e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public interface HasComparableOperators<ENTITY, V extends Comparable<? super V>>
* value and the end value)
*/
default SpeedmentPredicate<ENTITY> between(V start, V end) {
return between(start, end, Inclusion.START_EXCLUSIVE_END_EXCLUSIVE);
return between(start, end, Inclusion.START_INCLUSIVE_END_EXCLUSIVE);
}

/**
Expand Down Expand Up @@ -190,7 +190,7 @@ default SpeedmentPredicate<ENTITY> between(V start, V end) {
* value and the end value)
*/
default SpeedmentPredicate<ENTITY> notBetween(V start, V end) {
return notBetween(start, end, Inclusion.START_EXCLUSIVE_END_EXCLUSIVE);
return notBetween(start, end, Inclusion.START_INCLUSIVE_END_EXCLUSIVE);
}

/**
Expand Down

0 comments on commit 8916f5e

Please sign in to comment.