Skip to content

Commit

Permalink
Minor cleanup FirefoxBinary.java
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Tolfsen <[email protected]>
  • Loading branch information
sevaseva authored and andreastt committed Apr 11, 2014
1 parent 8edf63c commit d8bf859
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public void createProfile(String profileName) throws IOException {
/**
* Waits for the process to execute, returning the command output taken from the profile's
* execution.
*
*
* @throws InterruptedException if we are interrupted while waiting for the process to launch
* @throws IOException if there is a problem with reading the input stream of the launching
* process
Expand All @@ -210,7 +210,7 @@ public void waitFor() throws InterruptedException, IOException {

/**
* Gets all console output of the binary. Output retrieval is non-destructive and non-blocking.
*
*
* @return the console output of the executed binary.
* @throws IOException
*/
Expand All @@ -227,6 +227,7 @@ public void clean(FirefoxProfile profile, File profileDir) throws IOException {
try {
waitFor();
} catch (InterruptedException e) {
process.destroy();
throw new WebDriverException(e);
}
}
Expand Down

0 comments on commit d8bf859

Please sign in to comment.