Permalink
Browse files

Removed old argument parsing code from OperaRunner

  • Loading branch information...
1 parent 709c098 commit 1228a19abbedd401b164b45590f6560fc3be9d52 Andreas Tolf Tolfsen committed Nov 23, 2011
Showing with 0 additions and 18 deletions.
  1. +0 −18 src/com/opera/core/systems/runner/OperaRunner.java
@@ -95,24 +95,6 @@ public OperaRunner(OperaRunnerSettings s) {
arguments.add("autotestmode");
- // We read in environmental variable OPERA_ARGS in addition to existing arguments passed down
- // from OperaArguments. These are combined and sent to the browser.
- //
- // Note that this is a deviation from the principle of arguments normally overwriting
- // environmental variables.
-
- // TODO(andreastt): WTF is going on here?
- /*
- OperaArguments userArguments = settings.getArguments();
- for (OperaArgument argument : userArguments.getArguments()) {
- if (argument.getValue() != null && !argument.getValue().isEmpty()) {
- arguments.add(argument.getArgument(), argument.getValue());
- } else {
- arguments.add(argument.getArgument());
- }
- }
- */
-
arguments.merge(settings.getArguments());
settings.setArguments(arguments);

0 comments on commit 1228a19

Please sign in to comment.