* Do not log concurrency conflicts. This is often misinterpreted as error which it is not.
This commit is contained in:
parent
84751f86a6
commit
58a109b727
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ public final class Node implements INode, Serializable {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((lock != null) && (lock != current) && lock.isAlive() && lock.isActive()) {
|
if ((lock != null) && (lock != current) && lock.isAlive() && lock.isActive()) {
|
||||||
nmgr.logEvent("Concurrency conflict for " + this + ", lock held by " + lock);
|
// nmgr.logEvent("Concurrency conflict for " + this + ", lock held by " + lock);
|
||||||
throw new ConcurrencyException("Tried to modify " + this +
|
throw new ConcurrencyException("Tried to modify " + this +
|
||||||
" from two threads at the same time.");
|
" from two threads at the same time.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue