Skip to content

Commit

Permalink
fixed compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
Daria Kolodzey committed Oct 11, 2014
1 parent 90634e0 commit bef86b4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ public static void execute(ConsoleUtility utility) {
for (Command cmd : commands) {
utility.run(cmd);
}
} catch (ExecutorParseException e) {
System.err.println("invalid syntax: empty command between two semicolons");
System.err.flush();
} catch (ConsoleUtilityException e) {
System.err.println(e.getMessage());
System.err.flush();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ public static void execute(ConsoleUtility utility, String[] args) {
for (Command cmd : commands) {
utility.run(cmd);
}
} catch (ExecutorParseException e) {
System.err.println("invalid syntax: empty command between two semicolons");
System.exit(Executor.SYNTAX_ERROR);
} catch (ConsoleUtilitySyntaxException e) {
System.err.println(e.getMessage());
System.exit(Executor.SYNTAX_ERROR);
Expand Down

0 comments on commit bef86b4

Please sign in to comment.