File tree Expand file tree Collapse file tree
api/src/org/labkey/api/data Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818import org .apache .commons .beanutils .ConversionException ;
1919import org .jetbrains .annotations .NotNull ;
2020import org .jetbrains .annotations .Nullable ;
21- import org .json .JSONArray ;
2221import org .junit .Assert ;
2322import org .junit .Test ;
2423import org .labkey .api .collections .IntHashMap ;
3332import java .sql .Time ;
3433import java .sql .Timestamp ;
3534import java .sql .Types ;
36- import java .util .Arrays ;
3735import java .util .Collection ;
3836import java .util .Collections ;
3937import java .util .Date ;
@@ -400,8 +398,14 @@ else if (value instanceof java.sql.Array sqlArray)
400398
401399 NULL (Types .NULL , Object .class ),
402400
403- OTHER (Types .OTHER , Object .class );
404-
401+ OTHER (Types .OTHER , Object .class )
402+ {
403+ @ Override
404+ public boolean isEmpty (Object value )
405+ {
406+ return null ==value || "" .equals (value );
407+ }
408+ };
405409
406410 public final int sqlType ;
407411 public final Class <?> cls ;
You can’t perform that action at this time.
0 commit comments