From 21394a937d11949b9f37a5330f588dd337407439 Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Thu, 23 Jan 2014 22:47:38 +0100 Subject: [PATCH] minor mjc2wsl - outputstream initialisation for messages --- src/TransMessages.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/TransMessages.java b/src/TransMessages.java index f00c27a..5880c79 100644 --- a/src/TransMessages.java +++ b/src/TransMessages.java @@ -30,7 +30,7 @@ public class TransMessages { public static final int M_WAR = 1; public static final int M_ERR = 2; public static final int M_QUIET = 3; - private PrintStream outStream; + private PrintStream outStream = System.out; public TransMessages() { this.setPrintLevel(M_ERR); @@ -39,7 +39,6 @@ public class TransMessages { void message(String mes, int level){ if (level>=getPrintLevel()) { - outStream = System.out; outStream.println(mes); } messageCounters[level]++; -- 2.25.1