mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +01:00
[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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue