small optimization

This commit is contained in:
zzz
2011-06-30 12:21:43 +00:00
parent 81dd267e29
commit 01b4b227ae

View File

@ -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;
} }