Skip to content
Snippets Groups Projects
Commit 863b8780 authored by Carsten Stocklöw's avatar Carsten Stocklöw
Browse files

test for null

parent fd7cadc9
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,10 @@ public class LogMonitor implements LogListener {
public void log(int logLevel, String module, String pkg, String cls,
String method, Object[] msgPart, Throwable t) {
if (msgPart == null)
msgPart = new Object[0];
for (int i = 0; i < listeners.length; i++)
listeners[i].log(logLevel, module, pkg, cls, method, msgPart, t);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment