Commit 8c315b29 authored by Alex Mateescu's avatar Alex Mateescu Committed by alexm

OF-582 Changed synchronization to user_name+property_name

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13331 b35dd754-fafc-0310-a699-88a17e54d16e
parent 8e379cb8
......@@ -436,7 +436,7 @@ public class User implements Cacheable, Externalizable, Result {
Map<String,Object> eventParams = new HashMap<String,Object>();
Object answer;
String keyString = (String) key;
synchronized (keyString.intern()) {
synchronized (getName() + keyString.intern()) {
if (properties.containsKey(keyString)) {
String originalValue = properties.get(keyString);
answer = properties.put(keyString, (String)value);
......
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