Skip to content

Commit

Permalink
Fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Mar 14, 2017
1 parent a0bc911 commit 3c200d7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import static org.openqa.selenium.remote.CapabilityType.SUPPORTS_WEB_STORAGE;
import static org.openqa.selenium.remote.CapabilityType.VERSION;

import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Joiner;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
Expand Down Expand Up @@ -276,7 +277,8 @@ public FirefoxProfile getProfile() {
return getProfileOrNull().orElseGet(() -> fullyPopulateProfile(new FirefoxProfile()));
}

private Optional<FirefoxProfile> getProfileOrNull() {
@VisibleForTesting
Optional<FirefoxProfile> getProfileOrNull() {
FirefoxProfile profileToUse = profile;
if (profileToUse == null) {
profileToUse = extractProfile(requiredCapabilities);
Expand Down

0 comments on commit 3c200d7

Please sign in to comment.