7676import org .mybatis .dynamic .sql .where .condition .IsGreaterThanWithSubselect ;
7777import org .mybatis .dynamic .sql .where .condition .IsIn ;
7878import org .mybatis .dynamic .sql .where .condition .IsInCaseInsensitive ;
79+ import org .mybatis .dynamic .sql .where .condition .IsInCaseInsensitiveWhenPresent ;
80+ import org .mybatis .dynamic .sql .where .condition .IsInWhenPresent ;
7981import org .mybatis .dynamic .sql .where .condition .IsInWithSubselect ;
8082import org .mybatis .dynamic .sql .where .condition .IsLessThan ;
8183import org .mybatis .dynamic .sql .where .condition .IsLessThanColumn ;
9193import org .mybatis .dynamic .sql .where .condition .IsNotEqualToWithSubselect ;
9294import org .mybatis .dynamic .sql .where .condition .IsNotIn ;
9395import org .mybatis .dynamic .sql .where .condition .IsNotInCaseInsensitive ;
96+ import org .mybatis .dynamic .sql .where .condition .IsNotInCaseInsensitiveWhenPresent ;
97+ import org .mybatis .dynamic .sql .where .condition .IsNotInWhenPresent ;
9498import org .mybatis .dynamic .sql .where .condition .IsNotInWithSubselect ;
9599import org .mybatis .dynamic .sql .where .condition .IsNotLike ;
96100import org .mybatis .dynamic .sql .where .condition .IsNotLikeCaseInsensitive ;
@@ -764,12 +768,12 @@ static <T> IsInWithSubselect<T> isIn(Buildable<SelectModel> selectModelBuilder)
764768 }
765769
766770 @ SafeVarargs
767- static <T > IsIn <T > isInWhenPresent (T ... values ) {
768- return IsIn .of (values ). filter ( Objects :: nonNull );
771+ static <T > IsInWhenPresent <T > isInWhenPresent (T ... values ) {
772+ return IsInWhenPresent .of (values );
769773 }
770774
771- static <T > IsIn <T > isInWhenPresent (Collection <T > values ) {
772- return values == null ? IsIn .empty () : IsIn .of (values ). filter ( Objects :: nonNull );
775+ static <T > IsInWhenPresent <T > isInWhenPresent (Collection <T > values ) {
776+ return values == null ? IsInWhenPresent .empty () : IsInWhenPresent .of (values );
773777 }
774778
775779 @ SafeVarargs
@@ -786,12 +790,12 @@ static <T> IsNotInWithSubselect<T> isNotIn(Buildable<SelectModel> selectModelBui
786790 }
787791
788792 @ SafeVarargs
789- static <T > IsNotIn <T > isNotInWhenPresent (T ... values ) {
790- return IsNotIn .of (values ). filter ( Objects :: nonNull );
793+ static <T > IsNotInWhenPresent <T > isNotInWhenPresent (T ... values ) {
794+ return IsNotInWhenPresent .of (values );
791795 }
792796
793- static <T > IsNotIn <T > isNotInWhenPresent (Collection <T > values ) {
794- return values == null ? IsNotIn .empty () : IsNotIn .of (values ). filter ( Objects :: nonNull );
797+ static <T > IsNotInWhenPresent <T > isNotInWhenPresent (Collection <T > values ) {
798+ return values == null ? IsNotInWhenPresent .empty () : IsNotInWhenPresent .of (values );
795799 }
796800
797801 static <T > IsBetween .Builder <T > isBetween (T value1 ) {
@@ -909,12 +913,12 @@ static IsInCaseInsensitive isInCaseInsensitive(Collection<String> values) {
909913 return IsInCaseInsensitive .of (values );
910914 }
911915
912- static IsInCaseInsensitive isInCaseInsensitiveWhenPresent (String ... values ) {
913- return IsInCaseInsensitive .of (values ). filter ( Objects :: nonNull );
916+ static IsInCaseInsensitiveWhenPresent isInCaseInsensitiveWhenPresent (String ... values ) {
917+ return IsInCaseInsensitiveWhenPresent .of (values );
914918 }
915919
916- static IsInCaseInsensitive isInCaseInsensitiveWhenPresent (Collection <String > values ) {
917- return values == null ? IsInCaseInsensitive .empty () : IsInCaseInsensitive .of (values ). filter ( Objects :: nonNull );
920+ static IsInCaseInsensitiveWhenPresent isInCaseInsensitiveWhenPresent (Collection <String > values ) {
921+ return values == null ? IsInCaseInsensitiveWhenPresent .empty () : IsInCaseInsensitiveWhenPresent .of (values );
918922 }
919923
920924 static IsNotInCaseInsensitive isNotInCaseInsensitive (String ... values ) {
@@ -925,13 +929,13 @@ static IsNotInCaseInsensitive isNotInCaseInsensitive(Collection<String> values)
925929 return IsNotInCaseInsensitive .of (values );
926930 }
927931
928- static IsNotInCaseInsensitive isNotInCaseInsensitiveWhenPresent (String ... values ) {
929- return IsNotInCaseInsensitive .of (values ). filter ( Objects :: nonNull );
932+ static IsNotInCaseInsensitiveWhenPresent isNotInCaseInsensitiveWhenPresent (String ... values ) {
933+ return IsNotInCaseInsensitiveWhenPresent .of (values );
930934 }
931935
932- static IsNotInCaseInsensitive isNotInCaseInsensitiveWhenPresent (Collection <String > values ) {
933- return values == null ? IsNotInCaseInsensitive .empty () :
934- IsNotInCaseInsensitive .of (values ). filter ( Objects :: nonNull );
936+ static IsNotInCaseInsensitiveWhenPresent isNotInCaseInsensitiveWhenPresent (Collection <String > values ) {
937+ return values == null ? IsNotInCaseInsensitiveWhenPresent .empty () :
938+ IsNotInCaseInsensitiveWhenPresent .of (values );
935939 }
936940
937941 // order by support
0 commit comments