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:
Dave Hoover
2008-07-14 18:19:23 +00:00
parent 1df0737bf7
commit 5f1eed7b94
137 changed files with 394 additions and 433 deletions
+4 -3
View File
@@ -45,6 +45,7 @@ public class Tile // implements Cloneable
this.zations = zations;
}
@Override
public boolean equals (Object other) {
if (other instanceof Key) {
Key okey = (Key)other;
@@ -56,6 +57,7 @@ public class Tile // implements Cloneable
}
}
@Override
public int hashCode () {
int code = (tileSet == null) ? tileIndex :
(tileSet.hashCode() ^ tileIndex);
@@ -140,9 +142,7 @@ public class Tile // implements Cloneable
// }
// }
/**
* Return a string representation of this tile.
*/
@Override
public String toString ()
{
StringBuilder buf = new StringBuilder("[");
@@ -162,6 +162,7 @@ public class Tile // implements Cloneable
}
/** Decrement total tile memory by our value. */
@Override
protected void finalize ()
{
if (_mirage != null) {