Fix bug in last checkin in unused code

(thx zab)
This commit is contained in:
zzz
2013-06-10 14:01:06 +00:00
parent 68d25afcba
commit 62413331da

View File

@@ -61,7 +61,7 @@ public class RequestLeaseSetMessage extends I2CPMessageImpl {
/** @deprecated unused - presumably he meant remove? */
public void remoteEndpoint(int endpoint) {
if ((endpoint >= 0) && (endpoint <= _endpoints.size())) _endpoints.remove(endpoint);
if ((endpoint >= 0) && (endpoint < _endpoints.size())) _endpoints.remove(endpoint);
}
public void addEndpoint(Hash router, TunnelId tunnel) {