gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
experimental transformations - added Flag Removal to the auto transfs
[mjc2wsl.git] / src / TransMessages.java
index f00c27a..5880c79 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;
        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);
 
        public TransMessages() {
                this.setPrintLevel(M_ERR);
@@ -39,7 +39,6 @@ public class TransMessages {
 
        void message(String mes, int level){
                        if (level>=getPrintLevel()) {
 
        void message(String mes, int level){
                        if (level>=getPrintLevel()) {
-                               outStream = System.out;
                                outStream.println(mes);
                        }
                        messageCounters[level]++;
                                outStream.println(mes);
                        }
                        messageCounters[level]++;
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner