More style-related cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5247 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -56,15 +56,13 @@ public class PeerDispatcher extends InvocationDispatcher<PeerMarshaller>
|
||||
switch (methodId) {
|
||||
case PeerMarshaller.INVOKE_ACTION:
|
||||
((PeerProvider)provider).invokeAction(
|
||||
source,
|
||||
(byte[])args[0]
|
||||
source, (byte[])args[0]
|
||||
);
|
||||
return;
|
||||
|
||||
case PeerMarshaller.RATIFY_LOCK_ACTION:
|
||||
((PeerProvider)provider).ratifyLockAction(
|
||||
source,
|
||||
(NodeObject.Lock)args[0], ((Boolean)args[1]).booleanValue()
|
||||
source, (NodeObject.Lock)args[0], ((Boolean)args[1]).booleanValue()
|
||||
);
|
||||
return;
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
package com.threerings.presents.peer.server;
|
||||
|
||||
import com.threerings.presents.data.ClientObject;
|
||||
import com.threerings.presents.peer.client.PeerService;
|
||||
import com.threerings.presents.peer.data.NodeObject;
|
||||
import com.threerings.presents.server.InvocationProvider;
|
||||
|
||||
|
||||
@@ -54,8 +54,7 @@ public class TimeBaseDispatcher extends InvocationDispatcher<TimeBaseMarshaller>
|
||||
switch (methodId) {
|
||||
case TimeBaseMarshaller.GET_TIME_OID:
|
||||
((TimeBaseProvider)provider).getTimeOid(
|
||||
source,
|
||||
(String)args[0], (TimeBaseService.GotTimeBaseListener)args[1]
|
||||
source, (String)args[0], (TimeBaseService.GotTimeBaseListener)args[1]
|
||||
);
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user