-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
Currently, these two parameter declarations behave differently:
#@ File[] (style="files,extensions:xls/xlsx") files
and
#@ File[] (style="files, extensions:xls/xlsx") files
The latter ignores the file extension filter because after splitting, the style string has a leading space.
Let's fix this by changing style.split(",")
to style.trim().split("\\s*,\\s*")
in all places where it is relevant:
-
scijava-common
:
for (final String s : widgetStyle.split(",")) {
ctrueden and mlt
Metadata
Metadata
Assignees
Labels
No labels