formatting fix

This commit is contained in:
jrandom
2004-08-20 00:19:58 +00:00
committed by zzz
parent 0234fb62fb
commit bdaa14c257

View File

@ -615,7 +615,7 @@ public class KademliaNetworkDatabaseFacade extends NetworkDatabaseFacade {
if (existing >= MIN_REMAINING_ROUTERS) { if (existing >= MIN_REMAINING_ROUTERS) {
if (_log.shouldLog(Log.INFO)) if (_log.shouldLog(Log.INFO))
_log.info("Not storing expired router for " + key.toBase64(), new Exception("Rejecting store")); _log.info("Not storing expired router for " + key.toBase64(), new Exception("Rejecting store"));
return "Peer " + key.toBase64() + " expired " + DataHelper.formatDuration(age) + "ms ago"; return "Peer " + key.toBase64() + " expired " + DataHelper.formatDuration(age) + " ago";
} else { } else {
if (_log.shouldLog(Log.WARN)) if (_log.shouldLog(Log.WARN))
_log.warn("Even though the peer is old, we have only " + existing _log.warn("Even though the peer is old, we have only " + existing