1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-17 08:54:49 +02:00

Merge pull request #567 from guusdk/sint_trim-config

[sinttest] Trim externally-provided configuration
This commit is contained in:
Florian Schmaus 2023-11-26 17:12:39 +00:00 committed by GitHub
commit 9203907e66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();