public static void run(String cmd) throws KeywordOptimizerException {
  if (cmd.isEmpty()) {
    run(new String[]{});
  }
 else {
    run(cmd.split(" "));
  }
}

public static void run ( String cmd ) throws KeywordOptimizerException { if ( cmd . isEmpty ( ) ) { run ( new String [ ] { } ) ; } else { run ( cmd . split ( " " ) ) ; } }
method that runs the optimizer ( own method for separate testing with exceptions ) .
