Remove now spurious casts
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6016 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -174,7 +174,7 @@ public class PlaceManager
|
||||
// update the canonical copy
|
||||
_occInfo.put(info.getBodyOid(), info);
|
||||
// clone the canonical copy and send an event updating the distributed set with that clone
|
||||
_plobj.updateOccupantInfo((OccupantInfo)info.clone());
|
||||
_plobj.updateOccupantInfo(info.clone());
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -322,7 +322,7 @@ public class PlaceManager
|
||||
|
||||
_plobj.startTransaction();
|
||||
try {
|
||||
addOccupantInfo(body, (OccupantInfo)info.clone());
|
||||
addOccupantInfo(body, info.clone());
|
||||
} finally {
|
||||
_plobj.commitTransaction();
|
||||
}
|
||||
|
||||
@@ -1185,7 +1185,7 @@ public abstract class PeerManager
|
||||
|
||||
// take a snapshot of the set of subscriber client oids; we will act when all of them
|
||||
// ratify
|
||||
_remoids = (ArrayIntSet)_suboids.clone();
|
||||
_remoids = _suboids.clone();
|
||||
|
||||
// schedule a timeout to act if something goes wrong
|
||||
(_timeout = _omgr.newInterval(new Runnable () {
|
||||
|
||||
@@ -174,7 +174,7 @@ public class ConnectionManager extends LoopingThread
|
||||
_stats.overQueueSize += oq.size();
|
||||
}
|
||||
}
|
||||
return (ConMgrStats)_stats.clone();
|
||||
return _stats.clone();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -186,8 +186,7 @@ public class MessageBundle
|
||||
* @param includeParent if true, messages from our parent bundle (and its
|
||||
* parent bundle, all the way up the chain will be included).
|
||||
*/
|
||||
public void getAll (String prefix, Collection<String> messages,
|
||||
boolean includeParent)
|
||||
public void getAll (String prefix, Collection<String> messages, boolean includeParent)
|
||||
{
|
||||
Enumeration<String> iter = _bundle.getKeys();
|
||||
while (iter.hasMoreElements()) {
|
||||
@@ -208,8 +207,7 @@ public class MessageBundle
|
||||
* @param includeParent if true, messages from our parent bundle (and its
|
||||
* parent bundle, all the way up the chain will be included).
|
||||
*/
|
||||
public void getAllKeys (String prefix, Collection<String> keys,
|
||||
boolean includeParent)
|
||||
public void getAllKeys (String prefix, Collection<String> keys, boolean includeParent)
|
||||
{
|
||||
Enumeration<String> iter = _bundle.getKeys();
|
||||
while (iter.hasMoreElements()) {
|
||||
|
||||
Reference in New Issue
Block a user