aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/icedteanp/java/sun/applet/JavaConsole.java
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/icedteanp/java/sun/applet/JavaConsole.java')
-rw-r--r--plugin/icedteanp/java/sun/applet/JavaConsole.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/icedteanp/java/sun/applet/JavaConsole.java b/plugin/icedteanp/java/sun/applet/JavaConsole.java
index e3af966..9074e1b 100644
--- a/plugin/icedteanp/java/sun/applet/JavaConsole.java
+++ b/plugin/icedteanp/java/sun/applet/JavaConsole.java
@@ -308,8 +308,8 @@ public class JavaConsole {
boolean toShowConsole = false;
- for (int i = 0; i < args.length; i++) {
- if (args[i] == "--show-console") {
+ for (String arg : args) {
+ if ("--show-console".equals(arg)) {
toShowConsole = true;
}
}