Tuple.create -> Tuple.newTuple.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5559 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -295,7 +295,7 @@ public abstract class PeerManager
|
||||
{
|
||||
for (PeerNode peer : _peers.values()) {
|
||||
if (peer.nodeobj != null) {
|
||||
func.apply(Tuple.create(peer.getClient(), peer.nodeobj));
|
||||
func.apply(Tuple.newTuple(peer.getClient(), peer.nodeobj));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -389,7 +389,7 @@ public abstract class PeerManager
|
||||
return;
|
||||
}
|
||||
|
||||
final Tuple<String, Integer> key = Tuple.create(nodeName, remoteOid);
|
||||
final Tuple<String, Integer> key = Tuple.newTuple(nodeName, remoteOid);
|
||||
if (_proxies.containsKey(key)) {
|
||||
String errmsg = "Cannot proxy already proxied object [key=" + key + "].";
|
||||
listener.requestFailed(new ObjectAccessException(errmsg));
|
||||
@@ -418,7 +418,7 @@ public abstract class PeerManager
|
||||
*/
|
||||
public void unproxyRemoteObject (String nodeName, int remoteOid)
|
||||
{
|
||||
Tuple<String,Integer> key = Tuple.create(nodeName, remoteOid);
|
||||
Tuple<String,Integer> key = Tuple.newTuple(nodeName, remoteOid);
|
||||
Tuple<Subscriber<?>, DObject> bits = _proxies.remove(key);
|
||||
if (bits == null) {
|
||||
log.warning("Requested to clear unknown proxy [key=" + key + "].");
|
||||
|
||||
Reference in New Issue
Block a user