]> source.dussan.org Git - tigervnc.git/commitdiff
[Bugfix] Always print error messages on System.err instead of System.out.
authorConstantin Kaplinsky <const@tightvnc.com>
Fri, 20 Jun 2008 06:51:32 +0000 (06:51 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Fri, 20 Jun 2008 06:51:32 +0000 (06:51 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2600 3789f03b-4d11-0410-bbf8-ca57d06f2519

java/src/com/tightvnc/rfbplayer/PARfbSender.java
java/src/com/tightvnc/rfbplayer/RfbPlayer.java
java/src/com/tightvnc/rfbplayer/RfbPlayerSetDisplaySize.java

index 6dbaaf4ce1530b082221ebc7a6a2a6c6888a36a2..73d09fb30400d224b90aa1a27e1063a0513a3bfe 100644 (file)
@@ -22,7 +22,7 @@ public class PARfbSender extends Applet {
         ((RfbPlayer)receiver).jumpTo(time);
       }
     } else
-      System.out.println("Couldn't jump to time: " + time + " in RfbPlayer.");
+      System.err.println("Couldn't jump to time: " + time + " in RfbPlayer.");
   }
 
 }
index 1a0e17932eff07efea51df001ac554c1dbb8df26..85d067d123cb90e646bc874d3accfe7de82d8c80 100644 (file)
@@ -375,7 +375,7 @@ public class RfbPlayer extends java.applet.Applet
   // fatalError() - print out a fatal error message.
   //
   public void fatalError(String str) {
-    System.out.println(str);
+    System.err.println(str);
 
     if (inAnApplet) {
       vncContainer.removeAll();
index 02151b309098d7952fbddc24a0f1fcd9391036d9..f78770fb292c78b48ddd16deafa1fb8ea00110b7 100644 (file)
@@ -14,7 +14,7 @@ public class RfbPlayerSetDisplaySize extends Applet {
     if (receiver != null) {
       ((RfbPlayer)receiver).displaySize(width, height);
     } else
-      System.out.println("Couldn't resize RfbPlayer.");
+      System.err.println("Couldn't resize RfbPlayer.");
   }
 
 }