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:
Michael Bayne
2008-07-22 12:51:17 +00:00
parent 0aa0e48c28
commit 09f8a25876
29 changed files with 48 additions and 64 deletions
@@ -55,8 +55,7 @@ public class BodyDispatcher extends InvocationDispatcher<BodyMarshaller>
switch (methodId) {
case BodyMarshaller.SET_IDLE:
((BodyProvider)provider).setIdle(
source,
((Boolean)args[0]).booleanValue()
source, ((Boolean)args[0]).booleanValue()
);
return;
@@ -48,7 +48,7 @@ public class BodyManager
* @return true if changes were made and thus the object should be published anew to the
* place object, false if no publish should be done.
*/
public boolean update (OccupantInfo oinfo);
boolean update (OccupantInfo oinfo);
}
/**
@@ -21,6 +21,7 @@
package com.threerings.crowd.server;
import com.threerings.crowd.client.BodyService;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.server.InvocationProvider;
@@ -56,14 +56,13 @@ public class LocationDispatcher extends InvocationDispatcher<LocationMarshaller>
switch (methodId) {
case LocationMarshaller.LEAVE_PLACE:
((LocationProvider)provider).leavePlace(
source
source
);
return;
case LocationMarshaller.MOVE_TO:
((LocationProvider)provider).moveTo(
source,
((Integer)args[0]).intValue(), (LocationService.MoveListener)args[1]
source, ((Integer)args[0]).intValue(), (LocationService.MoveListener)args[1]
);
return;
@@ -22,7 +22,6 @@
package com.threerings.crowd.server;
import com.threerings.crowd.client.LocationDecoder;
import com.threerings.crowd.client.LocationReceiver;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.server.InvocationSender;
@@ -92,7 +92,7 @@ public class PlaceManager
* @param event the message event received.
* @param pmgr the place manager for which the message is being handled.
*/
public void handleEvent (MessageEvent event, PlaceManager pmgr);
void handleEvent (MessageEvent event, PlaceManager pmgr);
}
/**
@@ -667,7 +667,7 @@ public class PlaceManager
_shutdownInterval = new Interval(_omgr) {
@Override
public void expired () {
log.debug("Unloading idle place '" + where () + "'.");
log.debug("Unloading idle place '" + where() + "'.");
shutdown();
}
};
@@ -735,7 +735,7 @@ public class PlaceManager
protected PlaceConfig _config;
/** Message handlers are used to process message events. */
protected Map<String,MessageHandler> _msghandlers;
protected Map<String, MessageHandler> _msghandlers;
/** A list of the delegates in use by this manager. */
protected List<PlaceManagerDelegate> _delegates;
@@ -53,7 +53,7 @@ public class PlaceRegistry
/** Used in conjunction with {@link #createPlace}. */
public static interface PreStartupHook
{
public void invoke (PlaceManager plmgr);
void invoke (PlaceManager plmgr);
}
/**
@@ -87,7 +87,7 @@ public class PlaceRegistry
/**
* Creates and registers a new place manager with no delegates.
*
* @see #createPlace(PlaceConfig,List<PlaceManagerDelegate>)
* @see #createPlace(PlaceConfig,List)
*/
public PlaceManager createPlace (PlaceConfig config)
throws InstantiationException, InvocationException