Cleanups after review and prep for release

This commit is contained in:
zzz
2009-10-11 22:51:43 +00:00
parent 92e323df51
commit 405b85c4b4
14 changed files with 49 additions and 61 deletions

View File

@ -24,11 +24,7 @@ public class Piece implements Comparable {
public boolean equals(Object o) {
if (o instanceof Piece) {
if (o == null) return false;
try {
return this.id == ((Piece)o).id;
} catch (ClassCastException cce) {
return false;
}
return this.id == ((Piece)o).id;
}
return false;
}