@Override
public boolean equals(Object obj) {
- if (this == obj)
+ if (this == obj) {
return true;
- if (obj == null)
+ }
+ if (obj == null) {
return false;
- if (getClass() != obj.getClass())
+ }
+ if (getClass() != obj.getClass()) {
return false;
+ }
RpcResponseKey other = (RpcResponseKey) obj;
if (outputClazz == null) {
- if (other.outputClazz != null)
+ if (other.outputClazz != null) {
return false;
- } else if (!outputClazz.equals(other.outputClazz))
+ }
+ } else if (!outputClazz.equals(other.outputClazz)) {
return false;
// if (xid != other.xid)
// return false;
+ }
return true;
}
return "RpcResultKey [xid=" + xid + ", outputClazz=" + outputClazz
+ "]";
}
-
-}
+}
\ No newline at end of file