Changed get...() to enumerate...().

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1873 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-10-31 21:32:15 +00:00
parent 2e32b6c3a7
commit bb22856f76
@@ -1,5 +1,5 @@
// //
// $Id: PlaceRegistry.java,v 1.24 2002/10/06 03:31:16 mdb Exp $ // $Id: PlaceRegistry.java,v 1.25 2002/10/31 21:32:15 mdb Exp $
package com.threerings.crowd.server; package com.threerings.crowd.server;
@@ -142,7 +142,7 @@ public class PlaceRegistry
* should only be accessed on the dobjmgr thread and shouldn't be kept * should only be accessed on the dobjmgr thread and shouldn't be kept
* around across event dispatches. * around across event dispatches.
*/ */
public Iterator getPlaces () public Iterator enumeratePlaces ()
{ {
final Iterator enum = _pmgrs.elements(); final Iterator enum = _pmgrs.elements();
return new Iterator() { return new Iterator() {
@@ -169,7 +169,7 @@ public class PlaceRegistry
* This should only be accessed on the dobjmgr thread and shouldn't be * This should only be accessed on the dobjmgr thread and shouldn't be
* kept around across event dispatches. * kept around across event dispatches.
*/ */
public Iterator getPlaceManagers () public Iterator enumeratePlaceManagers ()
{ {
return _pmgrs.elements(); return _pmgrs.elements();
} }