[sinttest] Trim externally-provided configuration
Smack integration test configuration is provided externally. Guard against accidental whitespace inclusion by trimming values.
This commit is contained in:
parent
19b20fefec
commit
92d4cf5c77
|
@ -488,7 +488,7 @@ public final class Configuration {
|
||||||
}
|
}
|
||||||
key = key.substring(SINTTEST.length());
|
key = key.substring(SINTTEST.length());
|
||||||
String value = (String) entry.getValue();
|
String value = (String) entry.getValue();
|
||||||
properties.put(key, value);
|
properties.put(key.trim(), value.trim());
|
||||||
}
|
}
|
||||||
|
|
||||||
Builder builder = builder();
|
Builder builder = builder();
|
||||||
|
|
Loading…
Reference in New Issue