forked from I2P_Developers/i2p.i2p
small optimization
This commit is contained in:
@ -58,6 +58,7 @@ class DummyNamingService extends NamingService {
|
|||||||
if (hostname.length() >= 516) {
|
if (hostname.length() >= 516) {
|
||||||
d = lookupBase64(hostname);
|
d = lookupBase64(hostname);
|
||||||
// What the heck, cache these too
|
// What the heck, cache these too
|
||||||
|
if (d != null)
|
||||||
putCache(hostname, d);
|
putCache(hostname, d);
|
||||||
return d;
|
return d;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user