No need for that variable.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4714 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -80,8 +80,7 @@ public class EntryAddedEvent<T extends DSet.Entry> extends NamedEvent
|
|||||||
throws ObjectAccessException
|
throws ObjectAccessException
|
||||||
{
|
{
|
||||||
if (!_alreadyApplied) {
|
if (!_alreadyApplied) {
|
||||||
boolean added = target.getSet(_name).add(_entry);
|
if (!target.getSet(_name).add(_entry)) {
|
||||||
if (!added) {
|
|
||||||
// If this entry is already in the set, then don't notify our listeners of the
|
// If this entry is already in the set, then don't notify our listeners of the
|
||||||
// event add, because nothing was actually added; the DSet will have already
|
// event add, because nothing was actually added; the DSet will have already
|
||||||
// complained; this happens occasionally due to a race condition between client
|
// complained; this happens occasionally due to a race condition between client
|
||||||
|
|||||||
Reference in New Issue
Block a user