Skip to content

Commit

Permalink
#124: rename a function and removed default constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Pfotenhauer committed Aug 10, 2020
1 parent 8427e5d commit 96b117d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public void teardown(boolean testFailed, boolean preventReuse, WebDriverStateCon
else if (canReuse(preventReuse, webDriver, webDriverStateContainer))
{
LOGGER.debug("Put browser into cache");
webDriverStateContainer.increaseUsesedCount();
webDriverStateContainer.incrementUsedCount();
WebDriverCache.instance.putWebDriverStateContainer(browserTag, webDriverStateContainer);
}
// close the WebDriver
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ public class WebDriverStateContainer

private BrowserUpProxy proxy;

public WebDriverStateContainer()
{
}

public WebDriver getWebDriver()
{
return webDriver;
Expand All @@ -41,7 +37,7 @@ public int getUsedCount()
return usedCount;
}

public void increaseUsesedCount()
public void incrementUsedCount()
{
usedCount++;
}
Expand Down

0 comments on commit 96b117d

Please sign in to comment.