Skip to content

Commit

Permalink
Remove some stray print statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Stellard committed Dec 6, 2009
1 parent 268f9ca commit 8c0bfbc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/net/Message.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,17 +141,13 @@ public void print() {
@Override
public boolean equals(Object other) {
boolean result = false;
System.err.println("Message.equals called");
if (other instanceof Message) {
Message otherMsg = (Message) other;
this.print();
otherMsg.print();
result = ((this.sendTurn == otherMsg.sendTurn)
&& (this.messageType == otherMsg.messageType)
&& (this.sign != otherMsg.sign) && Arrays.equals(this.data,
otherMsg.data));
}
System.out.println("Result of equals: " + result);
return result;
}

Expand Down

0 comments on commit 8c0bfbc

Please sign in to comment.