Add in @Overrides across the board, clean up the comments around them some, and remove
unneeded imports. I've got partially completed patches for narya & vilya, too, but nenya was the only one that wound up in a decent state after a friday evening puttering at it, killing time waiting on other things to finish. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@572 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -35,6 +35,7 @@ public class DirectionTest extends TestCase
|
||||
super(DirectionTest.class.getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void runTest ()
|
||||
{
|
||||
int orient = NORTH;
|
||||
|
||||
@@ -44,12 +44,14 @@ public class DirectionViz extends JPanel
|
||||
addMouseMotionListener(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void doLayout ()
|
||||
{
|
||||
super.doLayout();
|
||||
_center = new Point(getWidth() / 2, getHeight() / 2);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void paintComponent (Graphics g)
|
||||
{
|
||||
super.paintComponent(g);
|
||||
|
||||
@@ -94,7 +94,7 @@ public class KeyboardManagerApp
|
||||
public static final String MOVE_RIGHT = "move_right";
|
||||
public static final String DROP = "drop";
|
||||
|
||||
// documentation inherited
|
||||
@Override
|
||||
public boolean handleAction (ActionEvent action)
|
||||
{
|
||||
String cmd = action.getActionCommand();
|
||||
|
||||
Reference in New Issue
Block a user