changeset 2030:0ddddd13801c

Removed unncessary debug and trace output
author Deepak Bhole <dbhole@redhat.com>
date Mon, 12 Apr 2010 17:20:51 -0400
parents 4e82b3353fad
children e26a587c0236
files ChangeLog plugin/icedteanp/IcedTeaNPPlugin.cc plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
diffstat 3 files changed, 13 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Apr 12 22:37:35 2010 +0200
+++ b/ChangeLog	Mon Apr 12 17:20:51 2010 -0400
@@ -1,3 +1,11 @@
+2010-04-12  Deepak Bhole <dbhole@redhat.com>
+
+	* plugin/icedteanp/IcedTeaNPPlugin.cc (ITNP_New): Removed debug printf
+	statement that didn't belong there.
+	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
+	(createPanel): Don't print stack traces on InterruptedException.
+	(handleMessage): Same.
+
 2010-04-12  Matthias Klose  <doko@ubuntu.com>
 
 	PR icedtea/461
--- a/plugin/icedteanp/IcedTeaNPPlugin.cc	Mon Apr 12 22:37:35 2010 +0200
+++ b/plugin/icedteanp/IcedTeaNPPlugin.cc	Mon Apr 12 17:20:51 2010 -0400
@@ -269,7 +269,6 @@
   NPVariant member_ptr;
   browser_functions.getvalue(instance, NPNVWindowNPObject, &window_ptr);
   identifier = browser_functions.getstringidentifier("document");
-  printf("Looking for %p %p %p (%s)\n", instance, window_ptr, identifier, "document");
   if (!browser_functions.hasproperty(instance, window_ptr, identifier))
   {
 	printf("%s not found!\n", "document");
--- a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java	Mon Apr 12 22:37:35 2010 +0200
+++ b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java	Mon Apr 12 17:20:51 2010 -0400
@@ -184,7 +184,7 @@
                   Thread.sleep(50);
                   wait += 50;
               } catch (InterruptedException ie) {
-                  ie.printStackTrace();
+                  // just wait
               }
          }
          
@@ -196,7 +196,7 @@
                  Thread.sleep(50);
                  PluginDebug.debug("Waiting for applet to initialize...");
              } catch (InterruptedException ie) {
-                 ie.printStackTrace();
+                 // just wait
              }
          }
 
@@ -629,7 +629,7 @@
                               Thread.sleep(50);
                               wait += 50;
                           } catch (InterruptedException ie) {
-                              ie.printStackTrace();
+                              // just wait
                           }
                      }
 
@@ -674,7 +674,7 @@
                       Thread.sleep(50);
                       wait += 50;
                   } catch (InterruptedException ie) {
-                      ie.printStackTrace();
+                      // just wait
                   }
              }
              
@@ -747,7 +747,7 @@
                      Thread.sleep(50);
                      PluginDebug.debug("Waiting for applet to initialize...");
                  } catch (InterruptedException ie) {
-                     ie.printStackTrace();
+                     // just wait
                  }
              }