438331 - AbstractLogger.debug(String,long) infinite loop

+ Breaking infinit loop
This commit is contained in:
Joakim Erdfelt 2014-07-09 08:54:10 -07:00
parent 5969638e69
commit 0c7de2e5bd
1 changed files with 3 additions and 1 deletions

View File

@ -79,6 +79,8 @@ public abstract class AbstractLogger implements Logger
public void debug(String msg, long arg) public void debug(String msg, long arg)
{ {
if (isDebugEnabled()) if (isDebugEnabled())
debug(msg,new Long(arg)); {
debug(msg,new Object[] { new Long(arg) });
}
} }
} }