Skip to content

Commit f3deee4

Browse files
Don't pass intrinsic types to convert() (e.g. int.class) (#987)
1 parent c60fdf5 commit f3deee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ms2/src/org/labkey/ms2/PeptideManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ public static SimpleFilter reduceToValidColumns(SimpleFilter fullFilter, TableIn
347347
{
348348
if (values[i] != null)
349349
{
350-
values[i] = ConvertUtils.convert(values[i].toString(), column.getJavaClass());
350+
values[i] = column.convert(values[i]);
351351
}
352352
}
353353
}

0 commit comments

Comments
 (0)