Skip to content

Commit

Permalink
Restored a renamed method to maintain backward compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Feb 4, 2016
1 parent c4a8fc1 commit 4b1537e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ public interface Configuration {

int getElementTimeout();

/**
* Use shouldUseAUniqueBrowser() instead
*/
@Deprecated
boolean getUseUniqueBrowser();

boolean shouldUseAUniqueBrowser();

void setOutputDirectory(File outputDirectory);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ public int getElementTimeout() {

}

@Override
public boolean getUseUniqueBrowser() {
return shouldUseAUniqueBrowser();
}

public boolean shouldUseAUniqueBrowser() {
return ThucydidesSystemProperty.THUCYDIDES_USE_UNIQUE_BROWSER.booleanFrom(getEnvironmentVariables());
}
Expand Down

0 comments on commit 4b1537e

Please sign in to comment.