mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 13:12:15 +00:00
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:
1 parent
adeb09576a
commit
440cf2c983
81 files changed
+3306
-1429
No files matched your search
@@ -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