Commit d5b58e4
committed
CommandModuleItem: do not convert empty strings
If the min(), max() or stepSize() parameter values are the empty string,
it means they were unset and should be treated as null/unspecified.
This fixes imagej/imagej-omero#46.
The problem was that String fields, rather than returning null for min
and max, instead were returning the empty string, which was propagated
to OMERO, which really did not like that. Really, the SJC framework
should have been returning null for min/max in that case anyway.1 parent 57d0644 commit d5b58e4
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
207 | 208 | | |
208 | 209 | | |
209 | 210 | | |
| |||
0 commit comments