1
0
Fork 0
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:
Guus der Kinderen 2023-09-29 20:37:03 +02:00
parent 19b20fefec
commit 92d4cf5c77

View file

@ -488,7 +488,7 @@ public final class Configuration {
}
key = key.substring(SINTTEST.length());
String value = (String) entry.getValue();
properties.put(key, value);
properties.put(key.trim(), value.trim());
}
Builder builder = builder();