gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
minor mjc2wsl - outputstream initialisation for messages
authorDoni Pracner <quinnuendo@gmail.com>
Thu, 23 Jan 2014 21:47:38 +0000 (22:47 +0100)
committerDoni Pracner <quinnuendo@gmail.com>
Thu, 23 Jan 2014 21:47:38 +0000 (22:47 +0100)
src/TransMessages.java

index f00c27aa13a75c74b3aebacd3445921cdb4836f5..5880c7903228cdd9b294f623e9736556151e626b 100644 (file)
@@ -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]++;
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner