Skip to content

Commit

Permalink
Fixed code format
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Mar 26, 2014
1 parent 0ea1f57 commit 78a89c7
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/**
* Holds a shell instance (no need for proxies)
*
*
* @author <a href="ggastald@redhat.com">George Gastaldi</a>
*/
public class ShellHandle
Expand Down Expand Up @@ -54,11 +54,13 @@ public void destroy()
Logger.getLogger(getClass().getName()).log(Level.FINE, "Error while closing Shell", e);
}
}

public void addCommandExecutionListener(CommandExecutionListener listener) {
if (shell != null) {
shell.addCommandExecutionListener(listener);
}

public void addCommandExecutionListener(CommandExecutionListener listener)
{
if (shell != null)
{
shell.addCommandExecutionListener(listener);
}
}

}

0 comments on commit 78a89c7

Please sign in to comment.