@Override gets the point across

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@898 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Dave Hoover
2010-02-10 20:32:49 +00:00
parent bee3ff77f3
commit 09dbd1c95a
30 changed files with 73 additions and 73 deletions
@@ -39,13 +39,13 @@ public class LobbyDispatcher extends InvocationDispatcher<LobbyMarshaller>
this.provider = provider;
}
@Override // documentation inherited
@Override
public LobbyMarshaller createMarshaller ()
{
return new LobbyMarshaller();
}
@Override // documentation inherited
@Override
public void dispatchRequest (
ClientObject source, int methodId, Object[] args)
throws InvocationException
@@ -43,13 +43,13 @@ public class SimulatorDispatcher extends InvocationDispatcher<SimulatorMarshalle
this.provider = provider;
}
@Override // documentation inherited
@Override
public SimulatorMarshaller createMarshaller ()
{
return new SimulatorMarshaller();
}
@Override // documentation inherited
@Override
public void dispatchRequest (
ClientObject source, int methodId, Object[] args)
throws InvocationException
@@ -59,13 +59,13 @@ public class CardGameDecoder extends InvocationDecoder
this.receiver = receiver;
}
@Override // documentation inherited
@Override
public String getReceiverCode ()
{
return RECEIVER_CODE;
}
@Override // documentation inherited
@Override
public void dispatchNotification (int methodId, Object[] args)
{
switch (methodId) {
@@ -42,13 +42,13 @@ public class TrickCardGameDispatcher extends InvocationDispatcher<TrickCardGameM
this.provider = provider;
}
@Override // documentation inherited
@Override
public TrickCardGameMarshaller createMarshaller ()
{
return new TrickCardGameMarshaller();
}
@Override // documentation inherited
@Override
public void dispatchRequest (
ClientObject source, int methodId, Object[] args)
throws InvocationException
@@ -60,13 +60,13 @@ public class ParlorDecoder extends InvocationDecoder
this.receiver = receiver;
}
@Override // documentation inherited
@Override
public String getReceiverCode ()
{
return RECEIVER_CODE;
}
@Override // documentation inherited
@Override
public void dispatchNotification (int methodId, Object[] args)
{
switch (methodId) {
@@ -25,13 +25,13 @@ public class ChoiceParameter extends Parameter
return "m.choice_" + choices[index];
}
@Override @ActionScript(omit=true) // documentation inherited
@Override @ActionScript(omit=true)
public String getLabel ()
{
return "m.choice_" + ident;
}
@Override // documentation inherited
@Override
public Object getDefaultValue ()
{
return start;
@@ -19,13 +19,13 @@ public class RangeParameter extends Parameter
/** The starting value for this parameter. */
public int start;
@Override @ActionScript(omit=true) // documentation inherited
@Override @ActionScript(omit=true)
public String getLabel ()
{
return "m.range_" + ident;
}
@Override // documentation inherited
@Override
public Object getDefaultValue ()
{
return start;
@@ -13,13 +13,13 @@ public class ToggleParameter extends Parameter
/** The starting state for this parameter. */
public boolean start;
@Override @ActionScript(omit=true) // documentation inherited
@Override @ActionScript(omit=true)
public String getLabel ()
{
return "m.toggle_" + ident;
}
@Override // documentation inherited
@Override
public Object getDefaultValue ()
{
return start;
@@ -45,8 +45,8 @@ public class ScoreAnimation extends FloatingTextAnimation
}
/**
* Constructs a score animation for the given score value centered at the given
* coordinates. The animation will float up the screen for 30 pixels.
* Constructs a score animation for the given score value centered at the given coordinates.
* The animation will float up the screen for 30 pixels.
*/
public ScoreAnimation (Label label, int x, int y, long floatPeriod)
{
@@ -46,13 +46,13 @@ public class ParlorDispatcher extends InvocationDispatcher<ParlorMarshaller>
this.provider = provider;
}
@Override // documentation inherited
@Override
public ParlorMarshaller createMarshaller ()
{
return new ParlorMarshaller();
}
@Override // documentation inherited
@Override
public void dispatchRequest (
ClientObject source, int methodId, Object[] args)
throws InvocationException
@@ -46,13 +46,13 @@ public class TableDispatcher extends InvocationDispatcher<TableMarshaller>
this.provider = provider;
}
@Override // documentation inherited
@Override
public TableMarshaller createMarshaller ()
{
return new TableMarshaller();
}
@Override // documentation inherited
@Override
public void dispatchRequest (
ClientObject source, int methodId, Object[] args)
throws InvocationException
@@ -42,13 +42,13 @@ public class TourneyDispatcher extends InvocationDispatcher<TourneyMarshaller>
this.provider = provider;
}
@Override // documentation inherited
@Override
public TourneyMarshaller createMarshaller ()
{
return new TourneyMarshaller();
}
@Override // documentation inherited
@Override
public void dispatchRequest (
ClientObject source, int methodId, Object[] args)
throws InvocationException
@@ -43,13 +43,13 @@ public class TourniesDispatcher extends InvocationDispatcher<TourniesMarshaller>
this.provider = provider;
}
@Override // documentation inherited
@Override
public TourniesMarshaller createMarshaller ()
{
return new TourniesMarshaller();
}
@Override // documentation inherited
@Override
public void dispatchRequest (
ClientObject source, int methodId, Object[] args)
throws InvocationException
@@ -154,7 +154,7 @@ public class TourneyRepository extends JORARepository
return configList;
}
@Override // documentation inherited
@Override
protected void migrateSchema (Connection conn, DatabaseLiaison liaison)
throws SQLException, PersistenceException
{
@@ -164,7 +164,7 @@ public class TourneyRepository extends JORARepository
}, "");
}
@Override // documentation inherited
@Override
protected void createTables ()
{
_ttable = new Table<TourneyRecord>(TourneyRecord.class, "TOURNEYS", "TOURNEY_ID", true);
@@ -42,13 +42,13 @@ public class PuzzleGameDispatcher extends InvocationDispatcher<PuzzleGameMarshal
this.provider = provider;
}
@Override // documentation inherited
@Override
public PuzzleGameMarshaller createMarshaller ()
{
return new PuzzleGameMarshaller();
}
@Override // documentation inherited
@Override
public void dispatchRequest (
ClientObject source, int methodId, Object[] args)
throws InvocationException
@@ -44,13 +44,13 @@ public class StageSceneDispatcher extends InvocationDispatcher<StageSceneMarshal
this.provider = provider;
}
@Override // documentation inherited
@Override
public StageSceneMarshaller createMarshaller ()
{
return new StageSceneMarshaller();
}
@Override // documentation inherited
@Override
public void dispatchRequest (
ClientObject source, int methodId, Object[] args)
throws InvocationException
@@ -207,7 +207,7 @@ public class StageSceneManager extends SpotSceneManager
listener.requestProcessed();
}
@Override // documentation inherited
@Override
protected void gotSceneData (Object extras)
{
super.gotSceneData(extras);
@@ -250,7 +250,7 @@ public class StageSceneManager extends SpotSceneManager
computeFootprints();
}
@Override // documentation inherited
@Override
protected void didStartup ()
{
super.didStartup();
@@ -260,13 +260,13 @@ public class StageSceneManager extends SpotSceneManager
_ssobj.setStageSceneService(addDispatcher(new StageSceneDispatcher(this)));
}
@Override // documentation inherited
@Override
protected PlaceObject createPlaceObject ()
{
return new StageSceneObject();
}
@Override // documentation inherited
@Override
protected void bodyLeft (int bodyOid)
{
super.bodyLeft(bodyOid);
@@ -275,7 +275,7 @@ public class StageSceneManager extends SpotSceneManager
_loners.remove(bodyOid);
}
@Override // documentation inherited
@Override
protected void updateLocation (BodyObject source, Location loc)
{
super.updateLocation(source, loc);
@@ -382,7 +382,7 @@ public class StageSceneManager extends SpotSceneManager
return false;
}
@Override // documentation inherited
@Override
protected SceneLocation computeEnteringLocation (BodyObject body, Portal from, Portal entry)
{
// sanity check
@@ -477,7 +477,7 @@ public class StageSceneManager extends SpotSceneManager
return validateLocation(body, loc, false);
}
@Override // documentation inherited
@Override
protected boolean validateLocation (BodyObject source, Location loc)
{
// TODO: make sure the user isn't warping to hell and gone (and if
@@ -485,7 +485,7 @@ public class StageSceneManager extends SpotSceneManager
return validateLocation(source, (StageLocation)loc, true);
}
@Override // documentation inherited
@Override
protected boolean canAddBody (ClusterRecord clrec, BodyObject body)
{
// make sure we have a setting for clusters of this size
@@ -655,7 +655,7 @@ public class StageSceneManager extends SpotSceneManager
return false;
}
@Override // documentation inherited
@Override
protected void bodyAdded (ClusterRecord clrec, BodyObject body)
{
super.bodyAdded(clrec, body);
@@ -729,7 +729,7 @@ public class StageSceneManager extends SpotSceneManager
}
}
@Override // documentation inherited
@Override
protected void bodyRemoved (ClusterRecord clrec, BodyObject body)
{
super.bodyRemoved(clrec, body);
@@ -766,7 +766,7 @@ public class StageSceneManager extends SpotSceneManager
}
}
@Override // documentation inherited
@Override
protected void checkCanCluster (BodyObject initiator, BodyObject target)
throws InvocationException
{
@@ -44,7 +44,7 @@ public class EditorTileManager extends MisoTileManager
super(rmgr, imgr);
}
@Override //Documentation inherited
@Override
public TileSet getTileSet (int tileSetId)
throws NoSuchTileSetException
{
@@ -31,7 +31,7 @@ import com.threerings.io.ObjectOutputStream;
*/
public class ByteByteStringMapStat extends StringMapStat
{
@Override // documentation inherited
@Override
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
throws IOException
{
@@ -42,7 +42,7 @@ public class ByteByteStringMapStat extends StringMapStat
}
}
@Override // documentation inherited
@Override
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
throws IOException, ClassNotFoundException
{
@@ -54,7 +54,7 @@ public class ByteByteStringMapStat extends StringMapStat
}
}
@Override // from StringMapStat
@Override
protected int getMaxValue ()
{
return Byte.MAX_VALUE;
@@ -31,7 +31,7 @@ import com.threerings.io.ObjectOutputStream;
*/
public class ByteStringSetStat extends StringSetStat
{
@Override // documentation inherited
@Override
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
throws IOException
{
@@ -41,7 +41,7 @@ public class ByteStringSetStat extends StringSetStat
}
}
@Override // documentation inherited
@Override
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
throws IOException, ClassNotFoundException
{
@@ -68,20 +68,20 @@ public class IntArrayStat extends Stat
setModified(true);
}
@Override // documentation inherited
@Override
public String valueToString ()
{
return StringUtil.toString(_value);
}
@Override // documentation inherited
@Override
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
throws IOException
{
out.writeObject(_value);
}
@Override // documentation inherited
@Override
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
throws IOException, ClassNotFoundException
{
@@ -64,20 +64,20 @@ public class IntStat extends Stat
return setValue(_value + delta);
}
@Override // documentation inherited
@Override
public String valueToString ()
{
return String.valueOf(_value);
}
@Override // documentation inherited
@Override
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
throws IOException
{
out.writeInt(_value);
}
@Override // documentation inherited
@Override
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
throws IOException, ClassNotFoundException
{
@@ -31,7 +31,7 @@ import com.threerings.io.ObjectOutputStream;
*/
public class IntStringSetStat extends StringSetStat
{
@Override // documentation inherited
@Override
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
throws IOException
{
@@ -41,7 +41,7 @@ public class IntStringSetStat extends StringSetStat
}
}
@Override // documentation inherited
@Override
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
throws IOException, ClassNotFoundException
{
@@ -31,7 +31,7 @@ import com.threerings.io.ObjectOutputStream;
*/
public class ShortStringSetStat extends StringSetStat
{
@Override // documentation inherited
@Override
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
throws IOException
{
@@ -41,7 +41,7 @@ public class ShortStringSetStat extends StringSetStat
}
}
@Override // documentation inherited
@Override
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
throws IOException, ClassNotFoundException
{
@@ -32,7 +32,7 @@ public abstract class StringSetStat extends SetStat<String>
/**
* Returns the number of Strings in this set.
*/
@Override // from SetStat
@Override
public int size ()
{
return _values.length;
@@ -41,7 +41,7 @@ public abstract class StringSetStat extends SetStat<String>
/**
* Returns true if the specified string is contained in this set.
*/
@Override // from SetStat
@Override
public boolean contains (String key)
{
if (key == null) {
@@ -56,7 +56,7 @@ public abstract class StringSetStat extends SetStat<String>
* @return true if the string was newly added, false if it was already
* contained in the set.
*/
@Override // from SetStat
@Override
public boolean add (String key)
{
if (key == null) {
@@ -86,7 +86,7 @@ public abstract class StringSetStat extends SetStat<String>
return _values;
}
@Override // documentation inherited
@Override
public String valueToString ()
{
return StringUtil.toString(_values);
@@ -44,13 +44,13 @@ public class SceneDecoder extends InvocationDecoder
this.receiver = receiver;
}
@Override // documentation inherited
@Override
public String getReceiverCode ()
{
return RECEIVER_CODE;
}
@Override // documentation inherited
@Override
public void dispatchNotification (int methodId, Object[] args)
{
switch (methodId) {
@@ -42,13 +42,13 @@ public class SceneDispatcher extends InvocationDispatcher<SceneMarshaller>
this.provider = provider;
}
@Override // documentation inherited
@Override
public SceneMarshaller createMarshaller ()
{
return new SceneMarshaller();
}
@Override // documentation inherited
@Override
public void dispatchRequest (
ClientObject source, int methodId, Object[] args)
throws InvocationException
@@ -44,13 +44,13 @@ public class SpotDispatcher extends InvocationDispatcher<SpotMarshaller>
this.provider = provider;
}
@Override // documentation inherited
@Override
public SpotMarshaller createMarshaller ()
{
return new SpotMarshaller();
}
@Override // documentation inherited
@Override
public void dispatchRequest (
ClientObject source, int methodId, Object[] args)
throws InvocationException
@@ -44,13 +44,13 @@ public class ZoneDecoder extends InvocationDecoder
this.receiver = receiver;
}
@Override // documentation inherited
@Override
public String getReceiverCode ()
{
return RECEIVER_CODE;
}
@Override // documentation inherited
@Override
public void dispatchNotification (int methodId, Object[] args)
{
switch (methodId) {
@@ -42,13 +42,13 @@ public class ZoneDispatcher extends InvocationDispatcher<ZoneMarshaller>
this.provider = provider;
}
@Override // documentation inherited
@Override
public ZoneMarshaller createMarshaller ()
{
return new ZoneMarshaller();
}
@Override // documentation inherited
@Override
public void dispatchRequest (
ClientObject source, int methodId, Object[] args)
throws InvocationException