diff options
author | Denis Lila <[email protected]> | 2011-03-31 14:01:04 -0400 |
---|---|---|
committer | Denis Lila <[email protected]> | 2011-03-31 14:01:04 -0400 |
commit | f25f28f27730a5cfe0cf70d5749acec8116b49a0 (patch) | |
tree | 8a500070efd5585b3075422a44ed3e9d71292977 /plugin/icedteanp/java/sun/applet/PluginDebug.java | |
parent | 79f501f9f49f448b3be1816ce92ba6e5a896c431 (diff) |
Make PluginDebug a bit lazier.
Diffstat (limited to 'plugin/icedteanp/java/sun/applet/PluginDebug.java')
-rw-r--r-- | plugin/icedteanp/java/sun/applet/PluginDebug.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/plugin/icedteanp/java/sun/applet/PluginDebug.java b/plugin/icedteanp/java/sun/applet/PluginDebug.java index 29c7c1c..4cbbe53 100644 --- a/plugin/icedteanp/java/sun/applet/PluginDebug.java +++ b/plugin/icedteanp/java/sun/applet/PluginDebug.java @@ -41,8 +41,11 @@ public class PluginDebug { static final boolean DEBUG = System.getenv().containsKey("ICEDTEAPLUGIN_DEBUG"); - public static void debug(String message) { - if (DEBUG) - System.err.println(message); + public static void debug(Object... messageChunks) { + if (DEBUG) { + for (Object chunk : messageChunks) { + System.err.println(chunk.toString()); + } + } } } |