*/
@Override
public int hashCode() {
- return id.hashCode() ^ sone.hashCode() ^ (int) (time >> 32) ^ (int) (time & 0xffffffff) ^ text.hashCode();
+ return id.hashCode();
}
/**
return false;
}
Post post = (Post) object;
- return post.id.equals(id) && post.sone.equals(sone) && (post.time == time) && post.text.equals(text);
+ return post.id.equals(id);
}
/**
*/
@Override
public int hashCode() {
- return sone.hashCode() ^ id.hashCode() ^ post.hashCode() ^ (int) (time >> 32) ^ (int) (time & 0xffffffff) ^ text.hashCode();
+ return id.hashCode();
}
/**
return false;
}
Reply reply = (Reply) object;
- return reply.sone.equals(sone) && reply.id.equals(id) && reply.post.equals(post) && (reply.time == time) && reply.text.equals(text);
+ return reply.id.equals(id);
}
/**