forked from I2P_Developers/i2p.i2p
2005-03-23 Comwiz
* Phase 1 of the unit test bounty completed. (The router build script was modified not to build the router tests because of a broken dependancy on the core tests. This should be fixed in phase 3 of the unit test bounty.)
This commit is contained in:
@ -129,7 +129,7 @@ public class RequestLeaseSetMessage extends I2CPMessageImpl {
|
||||
RequestLeaseSetMessage msg = (RequestLeaseSetMessage) object;
|
||||
if (getEndpoints() != msg.getEndpoints()) return false;
|
||||
for (int i = 0; i < getEndpoints(); i++) {
|
||||
if (!DataHelper.eq(getRouter(i), msg.getRouter(i)) || DataHelper.eq(getTunnelId(i), msg.getTunnelId(i)))
|
||||
if (!DataHelper.eq(getRouter(i), msg.getRouter(i)) || !DataHelper.eq(getTunnelId(i), msg.getTunnelId(i)))
|
||||
return false;
|
||||
}
|
||||
return DataHelper.eq(getSessionId(), msg.getSessionId()) && DataHelper.eq(getEndDate(), msg.getEndDate());
|
||||
|
Reference in New Issue
Block a user