Commit 428b733c authored by Greg Thomas's avatar Greg Thomas

Remove premature optimisation that could accidentally cause the encryption

indicator to be lost
parent 5156f652
......@@ -283,10 +283,8 @@ public class JiveProperties implements Map<String, String> {
String result;
synchronized (this) {
if (properties.containsKey(key)) {
if (!properties.get(key).equals(value) || !encrypted.get(key) == isEncrypted) {
updateProperty(key, value, isEncrypted);
}
}
else {
insertProperty(key, value, isEncrypted);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment