Varargified log calls.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5697 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -161,8 +161,8 @@ public class MessageManager
|
||||
// nothing to worry about
|
||||
|
||||
} catch (Throwable t) {
|
||||
log.warning("Failure instantiating custom message bundle " +
|
||||
"[mbclass=" + mbclass + ", error=" + t + "].");
|
||||
log.warning("Failure instantiating custom message bundle", "mbclass", mbclass,
|
||||
"error", t);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -78,8 +78,7 @@ public class TrackedObject
|
||||
if (count != null) {
|
||||
count[0]--;
|
||||
} else {
|
||||
log.warning("Finalized TrackedObject missing counter! " +
|
||||
"[class=" + clazz + "].");
|
||||
log.warning("Finalized TrackedObject missing counter!", "class", clazz);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -189,8 +189,8 @@ public class SignalManager
|
||||
{
|
||||
ObserverList<SignalHandler> list = _handlers.get(signal);
|
||||
if (list == null || !list.contains(handler)) {
|
||||
log.warning("Requested to remove non-registered handler [signal=" + signal +
|
||||
", handler=" + handler + "].");
|
||||
log.warning("Requested to remove non-registered handler", "signal", signal,
|
||||
"handler", handler);
|
||||
return;
|
||||
}
|
||||
list.remove(handler);
|
||||
|
||||
Reference in New Issue
Block a user