ListUtil.contains() -> ListUtil.containsRef()
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3170 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: FrameManager.java,v 1.52 2004/10/15 22:21:38 mdb Exp $
|
// $Id: FrameManager.java,v 1.53 2004/10/23 17:21:54 mdb Exp $
|
||||||
//
|
//
|
||||||
// Narya library - tools for developing networked games
|
// Narya library - tools for developing networked games
|
||||||
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
||||||
@@ -302,7 +302,7 @@ public abstract class FrameManager
|
|||||||
*/
|
*/
|
||||||
public boolean isRegisteredFrameParticipant (FrameParticipant participant)
|
public boolean isRegisteredFrameParticipant (FrameParticipant participant)
|
||||||
{
|
{
|
||||||
return ListUtil.contains(_participants, participant);
|
return ListUtil.containsRef(_participants, participant);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: FrameRepaintManager.java,v 1.21 2004/08/27 02:12:37 mdb Exp $
|
// $Id: FrameRepaintManager.java,v 1.22 2004/10/23 17:21:54 mdb Exp $
|
||||||
//
|
//
|
||||||
// Narya library - tools for developing networked games
|
// Narya library - tools for developing networked games
|
||||||
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
||||||
@@ -123,7 +123,7 @@ public class FrameRepaintManager extends RepaintManager
|
|||||||
|
|
||||||
// add the invalid component to our list and we'll validate it on
|
// add the invalid component to our list and we'll validate it on
|
||||||
// the next frame
|
// the next frame
|
||||||
if (!ListUtil.contains(_invalid, vroot)) {
|
if (!ListUtil.containsRef(_invalid, vroot)) {
|
||||||
if (DEBUG) {
|
if (DEBUG) {
|
||||||
Log.info("Invalidating " + toString(vroot) + ".");
|
Log.info("Invalidating " + toString(vroot) + ".");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user