aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java
diff options
context:
space:
mode:
authorDenis Lila <[email protected]>2011-03-31 14:01:04 -0400
committerDenis Lila <[email protected]>2011-03-31 14:01:04 -0400
commitf25f28f27730a5cfe0cf70d5749acec8116b49a0 (patch)
tree8a500070efd5585b3075422a44ed3e9d71292977 /plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java
parent79f501f9f49f448b3be1816ce92ba6e5a896c431 (diff)
Make PluginDebug a bit lazier.
Diffstat (limited to 'plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java')
-rw-r--r--plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java b/plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java
index 26ab3cc..50941ab 100644
--- a/plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java
+++ b/plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java
@@ -56,7 +56,7 @@ class PluginMessageHandlerWorker extends Thread {
this.isPriorityWorker = isPriorityWorker;
this.consumer = consumer;
- PluginDebug.debug("Worker " + this.id + " (priority=" + isPriorityWorker + ") created.");
+ PluginDebug.debug("Worker ", this.id, " (priority=", isPriorityWorker, ") created.");
}
public void setmessage(String message) {
@@ -68,7 +68,7 @@ class PluginMessageHandlerWorker extends Thread {
if (message != null) {
- PluginDebug.debug("Consumer (priority=" + isPriorityWorker + ") thread " + id + " consuming " + message);
+ PluginDebug.debug("Consumer (priority=", isPriorityWorker, ") thread ", id, " consuming ", message);
// ideally, whoever returns this object should mark it
// busy first, but just in case..
@@ -86,7 +86,7 @@ class PluginMessageHandlerWorker extends Thread {
this.message = null;
- PluginDebug.debug("Consumption (priority=" + isPriorityWorker + ") completed by consumer thread " + id);
+ PluginDebug.debug("Consumption (priority=", isPriorityWorker, ") completed by consumer thread ", id);
// mark ourselves free again
free();
@@ -96,9 +96,9 @@ class PluginMessageHandlerWorker extends Thread {
// Sleep when there is nothing to do
try {
Thread.sleep(Integer.MAX_VALUE);
- PluginDebug.debug("Consumer thread " + id + " sleeping...");
+ PluginDebug.debug("Consumer thread ", id, " sleeping...");
} catch (InterruptedException ie) {
- PluginDebug.debug("Consumer thread " + id + " woken...");
+ PluginDebug.debug("Consumer thread ", id, " woken...");
// nothing.. someone woke us up, see if there
// is work to do
}