Commit af02774
committed
SystemPropertyArgument: allow any string for keys
The previous regex was not allowing colons, which Java definitely
allows. But after briefly trying to research what's allowed and
what's not, I decided it doesn't really matter, and we should just
try setting whatever the user is trying to set, and if it fails with
an exception on the Java side, so be it -- but that's no reason not
to eagerly reject the expression in this ConsoleArgument plugin.1 parent c1849d7 commit af02774
File tree
1 file changed
+1
-1
lines changed- src/main/java/org/scijava/console
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments