Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
288dc40c
Commit
288dc40c
authored
Nov 05, 2015
by
Björn Richerzhagen
Browse files
Config: allow String arrays (seperated by ";")
parent
27cb8f2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/scenario/DefaultConfigurator.java
View file @
288dc40c
...
...
@@ -586,6 +586,8 @@ public class DefaultConfigurator implements Configurator {
paramList
[
i
]
=
convertToClass
(
valueList
[
i
].
trim
());
}
param
=
paramList
;
}
else
if
(
typeClass
==
String
[].
class
)
{
param
=
value
.
split
(
CLASS_SEPARATOR
);
}
else
{
throw
new
IllegalArgumentException
(
"Parameter type "
+
typeClass
+
" is not supported"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment