fluentlenium$fluentlenium
assertThat(fluentWebElement).isInstanceOf(FluentWebElement.class);
        Filter[] filters = new Filter[] {filter1, filter2
void
void canLoopIntoFluentWebElementAfterASearch()
Filter[] filters = new Filter[] { filter1, filter2
void
void can_loop_into_fluentWebElement_after_a_search()
fluentlenium$fluentlenium
void
void checkDollarAndIndexWorks()
void
void check$AndIndexWorks()
fluentlenium$fluentlenium
void
void checkDollarWorks()
void
void check$Works()
fluentlenium$fluentlenium
void
void deletagesToWebDriverWhenInitialized()
void
void deletages_to_webdriver_when_initialized()
fluentlenium$fluentlenium
void
void doNotUseOverridableMethodsInAConstructor()
void
void do_not_use_overridable_methods_in_a_constructor()
fluentlenium$fluentlenium
void
void getOrCreateDriverWithDifferentTestClassesCreatesDistinctInstances()
void
void getOrCreateDriver_with_different_test_classes_creates_distinct_instances()
fluentlenium$fluentlenium
void
void getOrCreateDriverWithDifferentTestNamesAndDifferentTestClassAndStrategyOnceCreatesOneInstance()
void
void getOrCreateDriver_with_different_test_names_and_different_test_class_and_strategy_once_creates_one_instance()
fluentlenium$fluentlenium
void
void getOrCreateDriverWithDifferentTestNamesAndDifferentTestClassAndStrategyPerClassCreatesDistinctInstance()
void
void getOrCreateDriver_with_different_test_names_and_different_test_class_and_strategy_per_class_creates_distinct_instance()
fluentlenium$fluentlenium
void
void getOrCreateDriverWithDifferentTestNamesAndStrategyPerClassCreatesOneInstance()
void
void getOrCreateDriver_with_different_test_names_and_strategy_per_class_creates_one_instance()
fluentlenium$fluentlenium
void
void getOrCreateDriverWithDifferentTestNamesCreatesDistinctInstances()
void
void getOrCreateDriver_with_different_test_names_creates_distinct_instances()
fluentlenium$fluentlenium
void
void getOrCreateDriverWithSameTestNamesCreatesOneInstance()
void
void getOrCreateDriver_with_same_test_names_creates_one_instance()
fluentlenium$fluentlenium
void
void isDriverAvailableBehavesAsExpected()
void
void is_driver_available_behaves_as_expected()
fluentlenium$fluentlenium
void
void pagesShouldBeInjected()
void
void pages_should_be_injected()
fluentlenium$fluentlenium
void
void pagesShouldBeInjected()
void
void pages_should_be_injected()
fluentlenium$fluentlenium
void
void pagesShouldBeInjected()
void
void pages_should_be_injected()
fluentlenium$fluentlenium
void
void quitAllShouldQuitAllDrivers()
void
void quitAll_should_quit_all_drivers()
fluentlenium$fluentlenium
void
void registeringAnotherDriverThrowException()
void
void registering_another_driver_throw_exception()
fluentlenium$fluentlenium
void
void registeringSameDriverDoesntThrowException()
void
void registering_same_driver_doesnt_throw_exception()
fluentlenium$fluentlenium
void
void registeringSameDriverMultipleTimeDoesntThrowException()
void
void registering_same_driver_multiple_time_doesnt_throw_exception()
fluentlenium$fluentlenium
void
void shouldConfigureProperly()
void
void should_configure_properly()
fluentlenium$fluentlenium
void
void shouldExecuteAsyncScriptReturnString()
void
void should_executeAsyncScript_return_String()
fluentlenium$fluentlenium
void
void shouldExecuteScriptReturnBoolean()
void
void should_executeScript_return_Boolean()
fluentlenium$fluentlenium
void
void shouldExecuteScriptReturnDouble()
void
void should_executeScript_return_Double()
fluentlenium$fluentlenium
void
void shouldExecuteScriptReturnList()
void
void should_executeScript_return_List()
fluentlenium$fluentlenium
void
void shouldExecuteScriptReturnLong()
void
void should_executeScript_return_Long()
fluentlenium$fluentlenium
void
void shouldExecuteScriptReturnString()
void
void should_executeScript_return_String()
fluentlenium$fluentlenium
void
void shouldFindAllFindByRetrieveList()
void
void should_findAll_findBy_retrieve_list()
fluentlenium$fluentlenium
void
void shouldFindAllFindByRetrieveList()
void
void should_findAll_findBy_retrieve_list()
fluentlenium$fluentlenium
void
void shouldFindByRetrieveElement()
void
void should_findBy_retrieve_element()
fluentlenium$fluentlenium
void
void shouldFindByRetrieveList()
void
void should_findBy_retrieve_list()
fluentlenium$fluentlenium
void
void shouldFindByRetrieveList()
void
void should_findBy_retrieve_list()
fluentlenium$fluentlenium
void
void shouldFindByRetrievedObjectWorkForSeleniumActions()
void
void should_findBy_retrieved_object_work_for_selenium_actions()
fluentlenium$fluentlenium
void
void shouldGetElementIntoAFrameWithFluentSwitchTo()
void
void should_get_element_into_a_frame_with_Fluent_switchTo()
fluentlenium$fluentlenium
void
void shouldGetElementIntoAFrameWithFluentSwitchToDefault()
void
void should_get_element_into_a_frame_with_Fluent_switchToDefault()
fluentlenium$fluentlenium
void
void shouldGetElementIntoAFrameWithFluentSwitchToBis()
void
void should_get_element_into_a_frame_with_Fluent_switchTo_bis()
fluentlenium$fluentlenium
void
void shouldGetElementIntoAFrameWithNativeInstructions()
void
void should_get_element_into_a_frame_with_native_instructions()
fluentlenium$fluentlenium
void
void shouldNewWebDriverCreateNewInstances()
void
void should_new_web_driver_create_new_instances()
fluentlenium$fluentlenium
void
void testIgnoreAllNegative()
void
void test_ignoreAll_negative()
fluentlenium$fluentlenium
void
void testIgnoreAllPositive()
void
void test_ignoreAll_positive()
fluentlenium$fluentlenium
void
void testIgnoring1Negative()
void
void test_ignoring_1_negative()
fluentlenium$fluentlenium
void
void testIgnoring1Positive()
void
void test_ignoring_1_positive()
fluentlenium$fluentlenium
void
void testIgnoring2Negative()
void
void test_ignoring_2_negative()
fluentlenium$fluentlenium
void
void testIgnoring2Positive()
void
void test_ignoring_2_positive()
fluentlenium$fluentlenium
void
void testInternalFluentWebElementInstantiate()
void
void test_internal_fluentwebelement_instantiate()
fluentlenium$fluentlenium
void
void testNoException()
void
void test_no_exception()
fluentlenium$fluentlenium
void
void testNoException()
void
void test_no_exception()
fluentlenium$fluentlenium
void
void testNoExceptionWhenInnerClass()
void
void test_no_exception_when_inner_class()
fluentlenium$fluentlenium
void
void testSuperclassFluentWebElementInstantiate()
void
void test_superclass_fluentwebelement_instantiate()
fluentlenium$fluentlenium
void
void titleOfDuckDuckGoShouldContainSearchQueryName()
void
void title_of_duck_duck_go_should_contain_search_query_name()
fluentlenium$fluentlenium
void
void whenAElementIsNotPresentThenIsNotPresentReturnTrue()
void
void when_a_element_is_not_present_then_isNotPresent_return_true()
fluentlenium$fluentlenium
void
void whenAElementIsPresentThenIsNotPresentThrowAnException()
void
void when_a_element_is_present_then_isNotPresent_throw_an_exception()
fluentlenium$fluentlenium
void
void whenBrowserDoNotImplementsJavascriptExecutorThrowsException()
void
void when_browser_do_not_implemets_Javascript_executor_throws_exception()
fluentlenium$fluentlenium
void
void whenBrowserDoesAcceptScreenshotThenNoException()
void
void when_browser_does_accept_screenshot_then_no_exception()
fluentlenium$fluentlenium
void
void whenBrowserDoesntAcceptScreenshotThenCustomError()
void
void when_browser_doesnt_accept_screenshot_then_custom_error()
fluentlenium$fluentlenium
void
void whenBrowserImplementsJavascriptExecutorThenGoToPredicate()
void
void when_browser_implemets_Javascript_executor_then_go_to_predicate()
fluentlenium$fluentlenium
void
void whenDefaultSharedDriverThenDriverIsClosedAfterMethodCall()
void
void when_default_shared_driver_then_driver_is_closed_after_method_call()
fluentlenium$fluentlenium
void
void whenElementIsDisplayedThenAreNotDisplayedThrowsException()
void
void when_element_is_displayed_then_areNotDisplayed_throws_exception()
fluentlenium$fluentlenium
void
void whenElementIsDisplayedThenAreNotDisplayedThrowsException()
void
void when_element_is_displayed_then_areNotDisplayed_throws_exception()
fluentlenium$fluentlenium
void
void whenElementIsDisplayedThenIsNotDisplayedThrowsException()
void
void when_element_is_displayed_then_isNotDisplayed_throws_exception()
fluentlenium$fluentlenium
void
void whenElementIsDisplayedThenIsNotDisplayedThrowsException()
void
void when_element_is_displayed_then_isNotDisplayed_throws_exception()
fluentlenium$fluentlenium
void
void whenElementIsEnabledThenAreEnabledReturnTrue()
void
void when_element_is_enabled_then_areEnabled_return_true()
fluentlenium$fluentlenium
void
void whenElementIsEnabledThenAreEnabledReturnTrue()
void
void when_element_is_enabled_then_areEnabled_return_true()
fluentlenium$fluentlenium
void
void whenElementIsEnabledThenIsEnabledReturnTrue()
void
void when_element_is_enabled_then_isEnabled_return_true()
fluentlenium$fluentlenium
void
void whenElementIsEnabledThenIsEnabledReturnTrue()
void
void when_element_is_enabled_then_isEnabled_return_true()
fluentlenium$fluentlenium
void
void whenElementIsNotDisplayedThenAreDisplayedThrowsException()
void
void when_element_is_not_displayed_then_areDisplayed_throws_exception()
fluentlenium$fluentlenium
void
void whenElementIsNotDisplayedThenAreDisplayedThrowsException()
void
void when_element_is_not_displayed_then_areDisplayed_throws_exception()
fluentlenium$fluentlenium
void
void whenElementIsNotDisplayedThenAreNotDisplayedReturnTrue()
void
void when_element_is_not_displayed_then_areNotDisplayed_return_true()
fluentlenium$fluentlenium
void
void whenElementIsNotDisplayedThenAreNotDisplayedReturnTrue()
void
void when_element_is_not_displayed_then_areNotDisplayed_return_true()
fluentlenium$fluentlenium
void
void whenElementIsNotDisplayedThenIsDisplayedThrowsException()
void
void when_element_is_not_displayed_then_isDisplayed_throws_exception()
fluentlenium$fluentlenium
void
void whenElementIsNotDisplayedThenIsDisplayedThrowsException()
void
void when_element_is_not_displayed_then_isDisplayed_throws_exception()
fluentlenium$fluentlenium
void
void whenElementIsNotDisplayedThenIsNotDisplayedReturnTrue()
void
void when_element_is_not_displayed_then_isNotDisplayed_return_true()
fluentlenium$fluentlenium
void
void whenElementIsNotDisplayedThenIsNotDisplayedReturnTrue()
void
void when_element_is_not_displayed_then_isNotDisplayed_return_true()
fluentlenium$fluentlenium
void
void whenElementIsNotDisplayedThenIsPresentReturnTrue()
void
void when_element_is_not_displayed_then_isPresent_return_true()
fluentlenium$fluentlenium
void
void whenElementIsNotDisplayedThenIsPresentReturnTrue()
void
void when_element_is_not_displayed_then_isPresent_return_true()
fluentlenium$fluentlenium
void
void whenElementIsNotEnabledThenAreEnabledThrowsException()
void
void when_element_is_not_enabled_then_areEnabled_throws_exception()
fluentlenium$fluentlenium
void
void whenElementIsNotEnabledThenAreEnabledThrowsException()
void
void when_element_is_not_enabled_then_areEnabled_throws_exception()
fluentlenium$fluentlenium
void
void whenElementIsNotEnabledThenIsEnabledThrowsException()
void
void when_element_is_not_enabled_then_isEnabled_throws_exception()
fluentlenium$fluentlenium
void
void whenElementIsNotEnabledThenIsEnabledThrowsException()
void
void when_element_is_not_enabled_then_isEnabled_throws_exception()
fluentlenium$fluentlenium
void
void whenElementIsNotEnabledThenIsNotEnabledReturnTrue()
void
void when_element_is_not_enabled_then_isNotEnabled_return_true()
fluentlenium$fluentlenium
void
void whenElementIsNotPresentThenAreNotDisplayedReturnTrue()
void
void when_element_is_not_present_then_areNotDisplayed_return_true()
fluentlenium$fluentlenium
void
void whenElementIsNotPresentThenAreNotDisplayedReturnTrue()
void
void when_element_is_not_present_then_areNotDisplayed_return_true()
fluentlenium$fluentlenium
void
void whenElementIsNotPresentThenIsNotDisplayedReturnTrue()
void
void when_element_is_not_present_then_isNotDisplayed_return_true()
fluentlenium$fluentlenium
void
void whenElementIsNotPresentThenIsNotDisplayedReturnTrue()
void
void when_element_is_not_present_then_isNotDisplayed_return_true()
fluentlenium$fluentlenium
void
void whenElementIsPresentThenAreDisplayedReturnTrue()
void
void when_element_is_present_then_areDisplayed_return_true()
fluentlenium$fluentlenium
void
void whenElementIsPresentThenAreDisplayedReturnTrue()
void
void when_element_is_present_then_areDisplayed_return_true()
fluentlenium$fluentlenium
void
void whenElementIsPresentThenIsDisplayedReturnTrue()
void
void when_element_is_present_then_isDisplayed_return_true()
fluentlenium$fluentlenium
void
void whenElementIsPresentThenIsDisplayedReturnTrue()
void
void when_element_is_present_then_isDisplayed_return_true()
fluentlenium$fluentlenium
void
void whenInitFailsTestIsNotCalled()
void
void when_init_fails_test_is_not_called()
fluentlenium$fluentlenium
void
void whenNoErrorEverythingIsCalled()
void
void when_no_error_everything_is_called()
fluentlenium$fluentlenium
void
void whenSingleElementIsEnabledThenIsEnabledReturnTrue()
void
void when_single_element_is_enabled_then_isEnabled_return_true()
fluentlenium$fluentlenium
void
void whenSingleElementIsNotEnabledThenIsEnabledThrowsException()
void
void when_single_element_is_not_enabled_then_isEnabled_throws_exception()
fluentlenium$fluentlenium
void
void whenSingleElementIsNotEnabledThenIsNotEnabledReturnTrue()
void
void when_single_element_is_not_enabled_then_isNotEnabled_return_true()
fluentlenium$fluentlenium
void
void whenSingleNonexistingElementThenIsEnabledThrowsException()
void
void when_single_nonexisting_element_then_isEnabled_throws_exception()
fluentlenium$fluentlenium
void
void whenWebElementInTestThenTheyAreInstanciated()
void
void when_web_element_in_test_then_they_are_instanciated()
fluentlenium$fluentlenium
void
void whenWebElementInTestThenTheyAreInstanciated()
void
void when_web_element_in_test_then_they_are_instanciated()
fluentlenium$fluentlenium
void
void whenWebElementInTestThenTheyAreInstanciated()
void
void when_web_element_in_test_then_they_are_instanciated()
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/deploy-settings.xml
https://api.github.com/repos/FluentLenium/FluentLenium/contents/deploy-settings.xml?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
deploy-settings.xml
</settings>
</settings>
@@ -6,4 +6,4 @@
             <password>${env.CI_DEPLOY_PASSWORD}</password>
         </server>
     </servers>
-</settings>
\ No newline at end of file
+</settings>
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/deploy-settings.xml
eeedbf9ebbf33ab0c9b8f6f1510899365ba7d7e9
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/dev-config%2Fcheckstyle%2Ffluentlenium_checks.xml
https://api.github.com/repos/FluentLenium/FluentLenium/contents/dev-config%2Fcheckstyle%2Ffluentlenium_checks.xml?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
dev-config/checkstyle/fluentlenium_checks.xml
    <property name="fileExtensions" value="java, js, json, xml, yml"/>

            <property name="option" value="nl"/>
        <!--
        -->
            <property name="protectedAllowed" value="true"/>
            <property name="packageAllowed" value="true"/>
            <property name="option" value="eol"/>
@@ -22,6 +22,8 @@
 -->
 
 <module name="Checker">
+    <property name="fileExtensions" value="java, js, json, xml, yml"/>
+
     <!--    Ability to turn off checkstyle using comments. Example :
         //CHECKSTYLE.OFF: IllegalCatch - Much more readable than catching 7 exceptions
         catch (Exception e)
@@ -142,7 +144,7 @@
         <module name="NoWhitespaceAfter"/>
         <module name="NoWhitespaceBefore"/>
         <module name="OperatorWrap">
-            <property name="option" value="eol"/>
+            <property name="option" value="nl"/>
         </module>
         <module name="ParenPad"/>
         <module name="TypecastParenPad"/>
@@ -176,10 +178,12 @@
         </module>
         <module name="IllegalInstantiation"/>
         <module name="InnerAssignment"/>
+        <!--
         <module name="MagicNumber">
             <property name="ignoreHashCodeMethod" value="true"/>
             <property name="ignoreAnnotation" value="true"/>
         </module>
+        -->
         <module name="MissingSwitchDefault"/>
         <module name="IllegalThrows"/>
         <module name="SimplifyBooleanExpression"/>
@@ -192,6 +196,8 @@
         <module name="HideUtilityClassConstructor"/>
         <module name="InterfaceIsType"/>
         <module name="VisibilityModifier">
+            <property name="protectedAllowed" value="true"/>
+            <property name="packageAllowed" value="true"/>
             <property name="ignoreAnnotationCanonicalNames"
                       value="org.jboss.arquillian.test.api.ArquillianResource,org.junit.Rule"/>
             <property name="immutableClassCanonicalNames"
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/dev-config%2Fcheckstyle%2Ffluentlenium_checks.xml
818f68e82a5ebeee0a83d6d82ada9831699a4ff4
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/dev-config%2Fidea%2Fcode-style.xml
https://api.github.com/repos/FluentLenium/FluentLenium/contents/dev-config%2Fidea%2Fcode-style.xml?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
dev-config/idea/code-style.xml
        <option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true"/>
        <option name="SPACE_WITHIN_ARRAY_INITIALIZER_BRACES" value="true"/>
@@ -13,7 +13,6 @@
         <option name="INDENT_CASE_FROM_SWITCH" value="false"/>
         <option name="ALIGN_MULTILINE_PARAMETERS" value="false"/>
         <option name="ALIGN_MULTILINE_RESOURCES" value="false"/>
-        <option name="SPACE_WITHIN_ARRAY_INITIALIZER_BRACES" value="true"/>
         <option name="SPACE_BEFORE_ARRAY_INITIALIZER_LBRACE" value="true"/>
         <option name="CALL_PARAMETERS_WRAP" value="1"/>
         <option name="METHOD_PARAMETERS_WRAP" value="1"/>
@@ -26,6 +25,7 @@
         <option name="BINARY_OPERATION_WRAP" value="1"/>
         <option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true"/>
         <option name="TERNARY_OPERATION_WRAP" value="5"/>
+        <option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true"/>
         <option name="ARRAY_INITIALIZER_WRAP" value="1"/>
         <option name="WRAP_LONG_LINES" value="true"/>
         <option name="PARAMETER_ANNOTATION_WRAP" value="2"/>
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/dev-config%2Fidea%2Fcode-style.xml
d1e527c2f755b1f385969c2ea7e60c62c2ed4688
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/dev-config%2Fpmd%2Ffluentlenium_pmd.xml
https://api.github.com/repos/FluentLenium/FluentLenium/contents/dev-config%2Fpmd%2Ffluentlenium_pmd.xml?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
dev-config/pmd/fluentlenium_pmd.xml
</ruleset>
</ruleset>
@@ -32,4 +32,4 @@
     <rule ref="rulesets/java/unnecessary.xml"/>
     <rule ref="rulesets/java/unusedcode.xml"/>
 
-</ruleset>
\ No newline at end of file
+</ruleset>
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/dev-config%2Fpmd%2Ffluentlenium_pmd.xml
2cd236d607f103a5533bc2ad529c9aa40a5ef900
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/examples%2Fquickstart%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fexamples%2Fhooks%2FExampleHookTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/examples%2Fquickstart%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fexamples%2Fhooks%2FExampleHookTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
examples/quickstart/src/test/java/org/fluentlenium/examples/hooks/ExampleHookTest.java
    public void titleOfDuckDuckGoShouldContainSearchQueryName() {
    public void title_of_duck_duck_go_should_contain_search_query_name() {
@@ -10,7 +10,7 @@
 @Example
 public class ExampleHookTest extends FluentTest {
     @Test
-    public void title_of_duck_duck_go_should_contain_search_query_name() {
+    public void titleOfDuckDuckGoShouldContainSearchQueryName() {
         goTo("https://duckduckgo.com");
         $("#search_form_input_homepage").fill().with("FluentLenium");
         $("#search_button_homepage").submit();
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/examples%2Fquickstart%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fexamples%2Fhooks%2FExampleHookTest.java
2c44ae0d183a56f1b052b23d21f47684076f2c51
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/examples%2Fspring%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fexample%2Fspring%2Fconfig%2FBrowserConfig.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/examples%2Fspring%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fexample%2Fspring%2Fconfig%2FBrowserConfig.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
examples/spring/src/main/java/org/fluentlenium/example/spring/config/BrowserConfig.java
     * @param browserType browser type
     * @param useHub      use hub
     * @param hubLocation hub url
        return browserConfig.usesHub()
                ? browserType.getRemoteWebDriver(browserConfig.getHubLocation())
                : browserType.getWebDriver();
     * @param browserType
     * @param useHub
     * @param hubLocation
        return browserConfig.usesHub() ?
                browserType.getRemoteWebDriver(browserConfig.getHubLocation()) :
                browserType.getWebDriver();
@@ -14,9 +14,9 @@ public class BrowserConfig {
     /**
      * Creates a new browser configuration
      *
-     * @param browserType
-     * @param useHub
-     * @param hubLocation
+     * @param browserType browser type
+     * @param useHub      use hub
+     * @param hubLocation hub url
      */
     public BrowserConfig(final BrowserType browserType, final boolean useHub, final String hubLocation) {
         this.browserType = browserType;
@@ -33,9 +33,9 @@ public String getHubLocation() {
     }
 
     public WebDriver resolveDriver(final BrowserConfig browserConfig) {
-        return browserConfig.usesHub() ?
-                browserType.getRemoteWebDriver(browserConfig.getHubLocation()) :
-                browserType.getWebDriver();
+        return browserConfig.usesHub()
+                ? browserType.getRemoteWebDriver(browserConfig.getHubLocation())
+                : browserType.getWebDriver();
     }
 
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/examples%2Fspring%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fexample%2Fspring%2Fconfig%2FBrowserConfig.java
bcb613b6d722eb318b240407269519de4382e131
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/examples%2Fspring%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fexample%2Fspring%2Fconfig%2FConfig.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/examples%2Fspring%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fexample%2Fspring%2Fconfig%2FConfig.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
examples/spring/src/main/java/org/fluentlenium/example/spring/config/Config.java
//CHECKSTYLE.OFF: HideUtilityClassConstructor
//CHECKSTYLE.ON: HideUtilityClassConstructor
@@ -7,6 +7,7 @@
 import org.springframework.context.annotation.PropertySources;
 import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
 
+//CHECKSTYLE.OFF: HideUtilityClassConstructor
 @Configuration
 @ComponentScan(value = { "org.fluentlenium.example.spring" })
 @PropertySources(@PropertySource("config.properties"))
@@ -16,3 +17,4 @@ public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderCon
         return new PropertySourcesPlaceholderConfigurer();
     }
 }
+//CHECKSTYLE.ON: HideUtilityClassConstructor
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/examples%2Fspring%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fexample%2Fspring%2Fconfig%2FConfig.java
b3f36965170e39f4a621cf64a4351fbb7a99d937
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/examples%2Fspring%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fexample%2Fspring%2Fconfig%2FConfigException.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/examples%2Fspring%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fexample%2Fspring%2Fconfig%2FConfigException.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
examples/spring/src/main/java/org/fluentlenium/example/spring/config/ConfigException.java
     * @param message message
     * @param cause cause
     * @param message
     * @param cause
@@ -8,8 +8,8 @@ public class ConfigException extends RuntimeException {
     /**
      * Creates configuration exception
      *
-     * @param message
-     * @param cause
+     * @param message message
+     * @param cause cause
      */
     public ConfigException(final String message, final Exception cause) {
         super(message, cause);
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/examples%2Fspring%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fexample%2Fspring%2Fconfig%2FConfigException.java
39c85b2536a476b155c74086bce17112bf9604a5
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/examples%2Fspring%2Fsrc%2Fmain%2Fresources%2Fconfig.properties
https://api.github.com/repos/FluentLenium/FluentLenium/contents/examples%2Fspring%2Fsrc%2Fmain%2Fresources%2Fconfig.properties?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
examples/spring/src/main/resources/config.properties
selenium.hub.location=http://127.0.0.1:4444/wd/hub
selenium.hub.location=http://127.0.0.1:4444/wd/hub
@@ -1,4 +1,4 @@
 selenium.get.url=http://google.com
 selenium.browser.type=CHROME
 selenium.hub.enabled=false
-selenium.hub.location=http://127.0.0.1:4444/wd/hub
\ No newline at end of file
+selenium.hub.location=http://127.0.0.1:4444/wd/hub
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/examples%2Fspring%2Fsrc%2Fmain%2Fresources%2Fconfig.properties
046ca1bd3e1be8d8ea7013970e06eb84e183cd2c
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-assertj%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fassertj%2Fcustom%2FAlertAssert.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-assertj%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fassertj%2Fcustom%2FAlertAssert.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-assertj/src/main/java/org/fluentlenium/assertj/custom/AlertAssert.java
     * @param text text to search for
    public AlertAssert hasText(String text) {
            if (!actual.getText().contains(text)) {
                        "The alert box does not contain the text: " + text + " . Actual text found : " + actual.getText());
    public AlertAssert hasText(String textToFind) {
            if (!actual.getText().contains(textToFind)) {
                        "The alert box does not contain the text: " + textToFind + " . Actual text found : " + actual.getText());
@@ -13,13 +13,14 @@ public AlertAssert(Alert actual) {
     /**
      * Check that the alert box contains the given text
      *
+     * @param text text to search for
      * @return self
      */
-    public AlertAssert hasText(String textToFind) {
+    public AlertAssert hasText(String text) {
         try {
-            if (!actual.getText().contains(textToFind)) {
+            if (!actual.getText().contains(text)) {
                 super.failWithMessage(
-                        "The alert box does not contain the text: " + textToFind + " . Actual text found : " + actual.getText());
+                        "The alert box does not contain the text: " + text + " . Actual text found : " + actual.getText());
             }
         } catch (NoAlertPresentException e) {
             super.failWithMessage("There is no alert box");
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-assertj%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fassertj%2Fcustom%2FAlertAssert.java
518b1b2e5feec0a74ed09f8fbaeb9e1006436f2c
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-assertj%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fassertj%2Fcustom%2FFluentListAssert.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-assertj%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fassertj%2Fcustom%2FFluentListAssert.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-assertj/src/main/java/org/fluentlenium/assertj/custom/FluentListAssert.java
     * @param textToFind text to find
     * @return assertion object
     * @param textToFind text to find
     * @return assertion object
     * @param idToFind id to find
     * @return assertion object
     * @param classToFind class to find
     * @return assertion object
            if (classesLst.contains(classToFind)) {
            }
     * @return
     * @return
     * @param idToFind
     * @return
     * @return
            if (classesLst.contains(classToFind))
@@ -14,7 +14,8 @@ public FluentListAssert(FluentList<?> actual) {
     /**
      * check if at least one element of the FluentList contains the text
      *
-     * @return
+     * @param textToFind text to find
+     * @return assertion object
      */
     public FluentListAssert hasText(String textToFind) {
         List<String> actualTexts = actual.texts();
@@ -30,7 +31,8 @@ public FluentListAssert hasText(String textToFind) {
     /**
      * check if at no element of the FluentList contains the text
      *
-     * @return
+     * @param textToFind text to find
+     * @return assertion object
      */
     public FluentListAssert hasNotText(String textToFind) {
         List<String> actualTexts = actual.texts();
@@ -57,8 +59,8 @@ public FluentListSizeBuilder hasSize() {
     /**
      * check if an element of the FluentList has the id
      *
-     * @param idToFind
-     * @return
+     * @param idToFind id to find
+     * @return assertion object
      */
     public FluentListAssert hasId(String idToFind) {
         List actualIds = actual.ids();
@@ -71,15 +73,17 @@ public FluentListAssert hasId(String idToFind) {
     /**
      * check if at least one element of the FluentList contains the text
      *
-     * @return
+     * @param classToFind class to find
+     * @return assertion object
      */
     public FluentListAssert hasClass(String classToFind) {
         List<String> classesFromElements = (List<String>) actual.attributes("class");
 
         for (String classesStr : classesFromElements) {
             List<String> classesLst = Arrays.asList(classesStr.split(" "));
-            if (classesLst.contains(classToFind))
+            if (classesLst.contains(classToFind)) {
                 return this;
+            }
         }
 
         StringBuilder sb = new StringBuilder();
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-assertj%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fassertj%2Fcustom%2FFluentListAssert.java
4c25360100ce8c88dec73092e31dd9960393a0e5
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-assertj%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fassertj%2Fcustom%2FFluentWebElementAssert.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-assertj%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fassertj%2Fcustom%2FFluentWebElementAssert.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-assertj/src/main/java/org/fluentlenium/assertj/custom/FluentWebElementAssert.java
     * @return {@code this} assertion object.
     * @return {@code this} assertion object.
     * @return {@code this} assertion object.
     * @return {@code this} assertion object.
     * @return {@code this} assertion object.
     * @return {@code this} assertion object.
     * @param textToFind text to find
     * @return {@code this} assertion object.
     * @param regexToBeMatched regex to be matched
     * @return {@code this} assertion object.
     * @param textToFind text to find
     * @return {@code this} assertion object.
     * @param idToFind id to find
     * @return {@code this} assertion object.
    public FluentWebElementAssert hasId(String idToFind) {
        if (!actual.id().equals(idToFind)) {
            failWithMessage("The element does not have the id: " + idToFind + " . Actual id found : " + actual.id());
     * @param classToFind class to find
     * @return {@code this} assertion object.
String idToFind
fluentlenium-assertj/src/main/java/org/fluentlenium/assertj/custom/FluentWebElementAssert.java
if (!actual.id().equals(idToFind)) {
            failWithMessage("The element does not have the id: " + idToFind + " . Actual id found : " + actual.id());
     * @param classToFind class to find
     * @return {@code this
FluentWebElementAssert hasId(String idToFind)
     * @return
     * @return
     * @return
     * @return
     * @return
     * @return
     * @return
     * @return
     * @return
     * @param id to check
     * @return
    public FluentWebElementAssert hasId(String id) {
        if (!actual.id().equals(id)) {
            failWithMessage("The element does not have the id: " + id + " . Actual id found : " + actual.id());
     * @param classToFind
     * @return
@@ -23,7 +23,7 @@ private void failIsNotEnabled() {
     /**
      * check if the element is enabled
      *
-     * @return
+     * @return {@code this} assertion object.
      */
     public FluentWebElementAssert isEnabled() {
         if (!actual.enabled()) {
@@ -35,7 +35,7 @@ public FluentWebElementAssert isEnabled() {
     /**
      * check if the element is not enabled
      *
-     * @return
+     * @return {@code this} assertion object.
      */
     public FluentWebElementAssert isNotEnabled() {
         if (actual.enabled()) {
@@ -47,7 +47,7 @@ public FluentWebElementAssert isNotEnabled() {
     /**
      * check if the element is displayed
      *
-     * @return
+     * @return {@code this} assertion object.
      */
     public FluentWebElementAssert isDisplayed() {
         if (!actual.displayed()) {
@@ -60,7 +60,7 @@ public FluentWebElementAssert isDisplayed() {
     /**
      * check if the element is not displayed
      *
-     * @return
+     * @return {@code this} assertion object.
      */
     public FluentWebElementAssert isNotDisplayed() {
         if (actual.displayed()) {
@@ -80,7 +80,7 @@ private void failIsNotDisplayed() {
     /**
      * check if the element is selected
      *
-     * @return
+     * @return {@code this} assertion object.
      */
     public FluentWebElementAssert isSelected() {
         if (!actual.selected()) {
@@ -92,7 +92,7 @@ public FluentWebElementAssert isSelected() {
     /**
      * check if the element is not selected
      *
-     * @return
+     * @return {@code this} assertion object.
      */
     public FluentWebElementAssert isNotSelected() {
         if (actual.selected()) {
@@ -113,7 +113,8 @@ protected void failWithMessage(String errorMessage) {
     /**
      * check if the element contains the text
      *
-     * @return
+     * @param textToFind text to find
+     * @return {@code this} assertion object.
      */
     public FluentWebElementAssert hasText(String textToFind) {
         if (!actual.text().contains(textToFind)) {
@@ -126,7 +127,8 @@ public FluentWebElementAssert hasText(String textToFind) {
     /**
      * check if the element matches the given regex
      *
-     * @return
+     * @param regexToBeMatched regex to be matched
+     * @return {@code this} assertion object.
      */
     public FluentWebElementAssert hasTextMatching(String regexToBeMatched) {
         if (!actual.text().matches(regexToBeMatched)) {
@@ -141,7 +143,8 @@ public FluentWebElementAssert hasTextMatching(String regexToBeMatched) {
     /**
      * check if the element does not contain the text
      *
-     * @return
+     * @param textToFind text to find
+     * @return {@code this} assertion object.
      */
     public FluentWebElementAssert hasNotText(String textToFind) {
         if (actual.text().contains(textToFind)) {
@@ -162,21 +165,21 @@ private void failIsNotSelected() {
     /**
      * check if the element has the given id
      *
-     * @param id to check
-     * @return
+     * @param idToFind id to find
+     * @return {@code this} assertion object.
      */
-    public FluentWebElementAssert hasId(String id) {
-        if (!actual.id().equals(id)) {
-            failWithMessage("The element does not have the id: " + id + " . Actual id found : " + actual.id());
+    public FluentWebElementAssert hasId(String idToFind) {
+        if (!actual.id().equals(idToFind)) {
+            failWithMessage("The element does not have the id: " + idToFind + " . Actual id found : " + actual.id());
         }
         return this;
     }
 
     /**
      * check if the element has the class
      *
-     * @param classToFind
-     * @return
+     * @param classToFind class to find
+     * @return {@code this} assertion object.
      */
     public FluentWebElementAssert hasClass(String classToFind) {
         if (!getClasses().contains(classToFind)) {
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-assertj%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fassertj%2Fcustom%2FFluentWebElementAssert.java
b43cd33763c78ab92fffec7a87ea178e3290554e
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-assertj%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fassertj%2Fcustom%2FPageAssert.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-assertj%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fassertj%2Fcustom%2FPageAssert.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-assertj/src/main/java/org/fluentlenium/assertj/custom/PageAssert.java
     * @return page assertion object
     * @return
@@ -12,7 +12,7 @@ public PageAssert(FluentPage actual) {
     /**
      * check if it is at the current page. Call the page.isAt() methods
      *
-     * @return
+     * @return page assertion object
      */
     public PageAssert isAt() {
         actual.isAt();
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-assertj%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fassertj%2Fcustom%2FPageAssert.java
76ba7c48553502f2e1c10ea31a9bbfb9e69170c9
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-assertj%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fassertj%2Fintegration%2Futil%2Fadapter%2FFluentTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-assertj%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fassertj%2Fintegration%2Futil%2Fadapter%2FFluentTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-assertj/src/test/java/org/fluentlenium/assertj/integration/util/adapter/FluentTest.java
    //CHECKSTYLE.OFF: VisibilityModifier
    //CHECKSTYLE.ON: VisibilityModifier
@@ -36,6 +36,7 @@ public void failed(Throwable e, Description description) {
         }
     };
 
+    //CHECKSTYLE.OFF: VisibilityModifier
     @ClassRule
     public static TestRule classWatchman = new TestRule() {
 
@@ -54,5 +55,6 @@ public void evaluate() throws Throwable {
             };
         }
     };
+    //CHECKSTYLE.ON: VisibilityModifier
 
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-assertj%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fassertj%2Fintegration%2Futil%2Fadapter%2FFluentTest.java
8c4f5baeb399bee62145ab4fb0da9e369cdd32bb
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FAbstractFactoryRegistryImpl.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FAbstractFactoryRegistryImpl.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/configuration/AbstractFactoryRegistryImpl.java
        List<T> factoriesList = new ArrayList<>(this.factories.values());
        Collections.sort(factoriesList, new Comparator<T>() {
        for (T factory : factoriesList) {
        List<T> factories = new ArrayList<>(this.factories.values());
        Collections.sort(factories, new Comparator<T>() {
        for (T factory : factories) {
@@ -50,8 +50,8 @@ public AbstractFactoryRegistryImpl(Class<T> factoryType, Class<R> reflectiveFact
     protected Map<String, T> factories = new LinkedHashMap<>();
 
     public synchronized T getDefault() {
-        List<T> factories = new ArrayList<>(this.factories.values());
-        Collections.sort(factories, new Comparator<T>() {
+        List<T> factoriesList = new ArrayList<>(this.factories.values());
+        Collections.sort(factoriesList, new Comparator<T>() {
             @Override
             public int compare(T o1, T o2) {
                 FactoryPriority annotation1 = o1.getClass().getAnnotation(FactoryPriority.class);
@@ -64,7 +64,7 @@ public int compare(T o1, T o2) {
             }
         });
         List<T> filteredFactories = new ArrayList<>();
-        for (T factory : factories) {
+        for (T factory : factoriesList) {
             if (factory instanceof ReflectiveFactory) {
                 if (((ReflectiveFactory) factory).isAvailable()) {
                     filteredFactories.add(factory);
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FAbstractFactoryRegistryImpl.java
0b42da9940266db3f6f1c538a11c3ed5435f853c
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FConfigurationFactoryProvider.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FConfigurationFactoryProvider.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/configuration/ConfigurationFactoryProvider.java
public final class ConfigurationFactoryProvider {
    private ConfigurationFactoryProvider() {
        // Utility class
    }

fluentlenium-core/src/main/java/org/fluentlenium/configuration/ConfigurationFactoryProvider.java
// Utility class
private ConfigurationFactoryProvider()
public class ConfigurationFactoryProvider {
@@ -4,7 +4,11 @@
 
 import java.lang.reflect.InvocationTargetException;
 
-public class ConfigurationFactoryProvider {
+public final class ConfigurationFactoryProvider {
+    private ConfigurationFactoryProvider() {
+        // Utility class
+    }
+
     private static ConfigurationFactory bootstrapFactory = new DefaultConfigurationFactory();
 
     public static ConfigurationFactory getConfigurationFactory(Class<?> container) {
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FConfigurationFactoryProvider.java
30ed2ae7ad8349cd7a51b1a68aa87a46e0bb1032
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FConfigurationProperties.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FConfigurationProperties.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/configuration/ConfigurationProperties.java
     * {@link org.fluentlenium.configuration.WebDriversRegistryImpl#newWebDriver(String, Capabilities, ConfigurationProperties)}
     * registry using the value stored in webDriver and capabilities property.
     * {@link org.fluentlenium.configuration.WebDriversRegistryImpl#newWebDriver(String, Capabilities, ConfigurationProperties)} registry using the value stored in
     * webDriver and capabilities property.
@@ -107,8 +107,8 @@ enum DriverLifecycle {
      *
      * When FluentLenium needs to create a new {@link WebDriver} instance, it calls {@link FluentAdapter#newWebDriver()}
      * which delegates to
-     * {@link org.fluentlenium.configuration.WebDriversRegistryImpl#newWebDriver(String, Capabilities, ConfigurationProperties)} registry using the value stored in
-     * webDriver and capabilities property.
+     * {@link org.fluentlenium.configuration.WebDriversRegistryImpl#newWebDriver(String, Capabilities, ConfigurationProperties)}
+     * registry using the value stored in webDriver and capabilities property.
      *
      * Possible values are "firefox", "chrome", "ie", "htmlunit", or any class name implementing {@link WebDriver}.
      *
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FConfigurationProperties.java
b95da11309e0ba654088c7c8f71a350e8f3c9f08
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FMethodInvocationReflectionFactory.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FMethodInvocationReflectionFactory.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/configuration/MethodInvocationReflectionFactory.java
        return new String[] {this.method.getDeclaringClass().getName() + "." + this.method.getName(),
                this.method.getDeclaringClass().getSimpleName() + "." + this.method.getName(), this.method.getName()};
        return new String[] { this.method.getDeclaringClass().getName() + "." + this.method.getName(),
                this.method.getDeclaringClass().getSimpleName() + "." + this.method.getName(), this.method.getName() };
@@ -30,7 +30,7 @@ public Capabilities newCapabilities() {
 
     @Override
     public String[] getNames() {
-        return new String[] { this.method.getDeclaringClass().getName() + "." + this.method.getName(),
-                this.method.getDeclaringClass().getSimpleName() + "." + this.method.getName(), this.method.getName() };
+        return new String[] {this.method.getDeclaringClass().getName() + "." + this.method.getName(),
+                this.method.getDeclaringClass().getSimpleName() + "." + this.method.getName(), this.method.getName()};
     }
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FMethodInvocationReflectionFactory.java
96f0cee1ecb2a9008fdb7905635aef2cfc7332e2
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2FFluentDriver.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2FFluentDriver.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/FluentDriver.java
                String configBaseUrl = this.configuration.getBaseUrl();
                if (configBaseUrl != null) {
                    if (configBaseUrl.endsWith("/")) {
                        configBaseUrl = configBaseUrl.substring(0, configBaseUrl.length() - 1);
                    this.baseUrl = configBaseUrl;
                String baseUrl = this.configuration.getBaseUrl();
                if (baseUrl != null) {
                    if (baseUrl.endsWith("/")) {
                        baseUrl = baseUrl.substring(0, baseUrl.length() - 1);
                    this.baseUrl = baseUrl;
@@ -110,12 +110,12 @@ private void configureDriver() {
             }
 
             if (this.configuration.getBaseUrl() != null) {
-                String baseUrl = this.configuration.getBaseUrl();
-                if (baseUrl != null) {
-                    if (baseUrl.endsWith("/")) {
-                        baseUrl = baseUrl.substring(0, baseUrl.length() - 1);
+                String configBaseUrl = this.configuration.getBaseUrl();
+                if (configBaseUrl != null) {
+                    if (configBaseUrl.endsWith("/")) {
+                        configBaseUrl = configBaseUrl.substring(0, configBaseUrl.length() - 1);
                     }
-                    this.baseUrl = baseUrl;
+                    this.baseUrl = configBaseUrl;
                 }
             }
         }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2FFluentDriver.java
cdea7199c2ddc142a9f92dc0d9da30bf966c27c8
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faxes%2FAxes.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faxes%2FAxes.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/axes/Axes.java
        WebElement parentElement = LocatorProxies.createWebElement(new Supplier<WebElement>() {
        return instantiator.newComponent(FluentWebElement.class, parentElement);
        WebElement webElement = LocatorProxies.createWebElement(new Supplier<WebElement>() {
        return instantiator.newComponent(FluentWebElement.class, webElement);
@@ -32,14 +32,14 @@ public Axes(WebElement element, ComponentInstantiator instantiator, HookChainBui
      * @return fluent web element
      */
     public FluentWebElement parent() {
-        WebElement webElement = LocatorProxies.createWebElement(new Supplier<WebElement>() {
+        WebElement parentElement = LocatorProxies.createWebElement(new Supplier<WebElement>() {
             @Override
             public WebElement get() {
                 return Axes.this.webElement.findElement(By.xpath("parent::*"));
             }
         });
 
-        return instantiator.newComponent(FluentWebElement.class, webElement);
+        return instantiator.newComponent(FluentWebElement.class, parentElement);
     }
 
     protected FluentList<FluentWebElement> handleAxe(final String axe) {
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faxes%2FAxes.java
b4aa9a49164a6ca0958a247cf9207498f3d6ebdd
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FAbstractFluentListConditions.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FAbstractFluentListConditions.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/AbstractFluentListConditions.java
    private boolean negation = false;
    private final List<? extends FluentWebElement> elements;
    protected boolean isNegation() {
        return negation;
    }

    public void setNegation(boolean negation) {
        this.negation = negation;
    }

    protected List<? extends FluentWebElement> getElements() {
        return elements;
    }

fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/AbstractFluentListConditions.java
return negation;
boolean isNegation()
boolean negation
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/AbstractFluentListConditions.java
this.negation = negation;
void setNegation(boolean negation)
    protected boolean negation = false;
    protected final List<? extends FluentWebElement> elements;
@@ -10,9 +10,9 @@
  * Abstract class conditions on list of elements.
  */
 public abstract class AbstractFluentListConditions implements FluentListConditions {
-    protected boolean negation = false;
+    private boolean negation = false;
 
-    protected final List<? extends FluentWebElement> elements;
+    private final List<? extends FluentWebElement> elements;
 
     protected AbstractFluentListConditions(List<? extends FluentWebElement> elements) {
         this.elements = elements;
@@ -26,6 +26,18 @@ public boolean size(int size) {
         return elements.size() == size;
     }
 
+    protected boolean isNegation() {
+        return negation;
+    }
+
+    public void setNegation(boolean negation) {
+        this.negation = negation;
+    }
+
+    protected List<? extends FluentWebElement> getElements() {
+        return elements;
+    }
+
     @Override
     public IntegerConditions size() {
         return new IntegerConditionsImpl(elements.size(), negation);
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FAbstractFluentListConditions.java
976ee64819c3eb997dfd8f571fa69a0022252c0b
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FAtLeastOneElementConditions.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FAtLeastOneElementConditions.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/AtLeastOneElementConditions.java
        AtLeastOneElementConditions negatedConditions = new AtLeastOneElementConditions(getElements());
        negatedConditions.setNegation(!isNegation());
        if (isNegation()) {
                if (getElements().size() > 0) {
                    for (FluentWebElement element : getElements()) {
        AtLeastOneElementConditions negatedConditions = new AtLeastOneElementConditions(elements);
        negatedConditions.negation = !negation;
        if (negation) {
                if (elements.size() > 0) {
                    for (FluentWebElement element : elements) {
@@ -17,14 +17,14 @@ public AtLeastOneElementConditions(List<? extends FluentWebElement> elements) {
 
     @Override
     public AtLeastOneElementConditions not() {
-        AtLeastOneElementConditions negatedConditions = new AtLeastOneElementConditions(elements);
-        negatedConditions.negation = !negation;
+        AtLeastOneElementConditions negatedConditions = new AtLeastOneElementConditions(getElements());
+        negatedConditions.setNegation(!isNegation());
         return negatedConditions;
     }
 
     @Override
     public boolean verify(Predicate<FluentWebElement> predicate, boolean defaultValue) {
-        if (negation) {
+        if (isNegation()) {
             predicate = Predicates.not(predicate);
             defaultValue = !defaultValue;
         }
@@ -35,8 +35,8 @@ protected Predicate<FluentDriver> buildAtLeastOnePredicate(final Predicate<Fluen
             final boolean defaultValue) {
         Predicate<FluentDriver> untilPredicate = new com.google.common.base.Predicate<FluentDriver>() {
             public boolean apply(FluentDriver fluent) {
-                if (elements.size() > 0) {
-                    for (FluentWebElement element : elements) {
+                if (getElements().size() > 0) {
+                    for (FluentWebElement element : getElements()) {
                         if (predicate.apply(element)) {
                             return true;
                         }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FAtLeastOneElementConditions.java
e5e04690d255b93232f478b3f935c2e236319529
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FEachElementConditions.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FEachElementConditions.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/EachElementConditions.java
        EachElementConditions negatedConditions = new EachElementConditions(getElements());
        negatedConditions.setNegation(!isNegation());
        if (isNegation()) {
                if (getElements().size() > 0) {
                    for (FluentWebElement element : getElements()) {
        EachElementConditions negatedConditions = new EachElementConditions(elements);
        negatedConditions.negation = !negation;
        if (negation) {
                if (elements.size() > 0) {
                    for (FluentWebElement element : elements) {
@@ -17,13 +17,13 @@ public EachElementConditions(List<? extends FluentWebElement> elements) {
 
     @Override
     public EachElementConditions not() {
-        EachElementConditions negatedConditions = new EachElementConditions(elements);
-        negatedConditions.negation = !negation;
+        EachElementConditions negatedConditions = new EachElementConditions(getElements());
+        negatedConditions.setNegation(!isNegation());
         return negatedConditions;
     }
 
     public boolean verify(Predicate<FluentWebElement> predicate, boolean defaultValue) {
-        if (negation) {
+        if (isNegation()) {
             predicate = Predicates.not(predicate);
             defaultValue = !defaultValue;
         }
@@ -34,8 +34,8 @@ protected Predicate<FluentDriver> buildEachElementPredicate(final Predicate<Flue
             final boolean defaultValue) {
         Predicate<FluentDriver> untilPredicate = new com.google.common.base.Predicate<FluentDriver>() {
             public boolean apply(FluentDriver fluent) {
-                if (elements.size() > 0) {
-                    for (FluentWebElement element : elements) {
+                if (getElements().size() > 0) {
+                    for (FluentWebElement element : getElements()) {
                         if (!predicate.apply(element)) {
                             return false;
                         }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FEachElementConditions.java
30e68c0645f35af9d240749b945422128de03c71
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FFluentConditions.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FFluentConditions.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/FluentConditions.java
    boolean attribute(String name, String value);
    StringConditions attribute(String name);
    boolean attribute(final String name, final String value);
    StringConditions attribute(final String name);
@@ -191,7 +191,7 @@ public interface FluentConditions extends Conditions<FluentWebElement> {
      */
     @Message("has attribute \"{0}\"=\"{1}\"")
     @NotMessage("does not have attribute \"{0}\"=\"{1}\"")
-    boolean attribute(final String name, final String value);
+    boolean attribute(String name, String value);
 
     /**
      * Check conditions on the given attribute the attribute has the given value.
@@ -200,7 +200,7 @@ public interface FluentConditions extends Conditions<FluentWebElement> {
      * @return An object to configure text attribute value conditions.
      */
     @MessageContext("attribute(\"{0}\"")
-    StringConditions attribute(final String name);
+    StringConditions attribute(String name);
 
     /**
      * check conditions on rectangle of this element
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FFluentConditions.java
4d02b86120bed176b71bf2c3a74cb93de7b13f0d
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FIntegerConditions.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FIntegerConditions.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/IntegerConditions.java
    boolean equalTo(int value);
    boolean lessThan(int value);
    boolean lessThanOrEqualTo(int value);
    boolean greaterThan(int value);
    boolean greaterThanOrEqualTo(int value);
    boolean equalTo(final int value);
    boolean lessThan(final int value);
    boolean lessThanOrEqualTo(final int value);
    boolean greaterThan(final int value);
    boolean greaterThanOrEqualTo(final int value);
@@ -19,7 +19,7 @@ public interface IntegerConditions extends Conditions<Integer> {
      */
     @Message("is equal to {0}")
     @NotMessage("is not equal to {0}")
-    boolean equalTo(final int value);
+    boolean equalTo(int value);
 
     /**
      * Check that this is less than given value
@@ -29,7 +29,7 @@ public interface IntegerConditions extends Conditions<Integer> {
      */
     @Message("is less than {0}")
     @NotMessage("is not less than {0}")
-    boolean lessThan(final int value);
+    boolean lessThan(int value);
 
     /**
      * Check that this is less than or equal given value
@@ -39,7 +39,7 @@ public interface IntegerConditions extends Conditions<Integer> {
      */
     @Message("is less than or equal to {0}")
     @NotMessage("is not less than or equal to {0}")
-    boolean lessThanOrEqualTo(final int value);
+    boolean lessThanOrEqualTo(int value);
 
     /**
      * Check that this is greater than given value
@@ -49,7 +49,7 @@ public interface IntegerConditions extends Conditions<Integer> {
      */
     @Message("is greater than {0}")
     @NotMessage("is not greater than {0}")
-    boolean greaterThan(final int value);
+    boolean greaterThan(int value);
 
     /**
      * Check that this is greater than or equal given value
@@ -59,6 +59,6 @@ public interface IntegerConditions extends Conditions<Integer> {
      */
     @Message("is greater than or equal to {0}")
     @NotMessage("is not greater than or equal to {0}")
-    boolean greaterThanOrEqualTo(final int value);
+    boolean greaterThanOrEqualTo(int value);
 
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FIntegerConditions.java
f86cae93b1221b1acc93e64f0aa85bd5e2467ec9
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FStringConditionsImpl.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FStringConditionsImpl.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/StringConditionsImpl.java
                if (input == null) {
                }
                if (input == null) {
                }
                if (input == null) {
                }
                if (input == null) {
                }
                if (input == null) {
                }
                if (input == null) {
                }
                if (input == null) {
                }
                if (input == null)
                if (input == null)
                if (input == null)
                if (input == null)
                if (input == null)
                if (input == null)
                if (input == null)
@@ -30,8 +30,9 @@ public boolean contains(final CharSequence s) {
         return verify(new Predicate<String>() {
             @Override
             public boolean apply(String input) {
-                if (input == null)
+                if (input == null) {
                     return false;
+                }
                 return input.contains(s);
             }
         });
@@ -42,8 +43,9 @@ public boolean startsWith(final String prefix) {
         return verify(new Predicate<String>() {
             @Override
             public boolean apply(String input) {
-                if (input == null)
+                if (input == null) {
                     return false;
+                }
                 return input.startsWith(prefix);
             }
         });
@@ -54,8 +56,9 @@ public boolean endsWith(final String suffix) {
         return verify(new Predicate<String>() {
             @Override
             public boolean apply(String input) {
-                if (input == null)
+                if (input == null) {
                     return false;
+                }
                 return input.endsWith(suffix);
             }
         });
@@ -66,8 +69,9 @@ public boolean equalTo(final String anotherString) {
         return verify(new Predicate<String>() {
             @Override
             public boolean apply(String input) {
-                if (input == null)
+                if (input == null) {
                     return false;
+                }
                 return input.equals(anotherString);
             }
         });
@@ -78,8 +82,9 @@ public boolean equalToIgnoreCase(final String anotherString) {
         return verify(new Predicate<String>() {
             @Override
             public boolean apply(String input) {
-                if (input == null)
+                if (input == null) {
                     return false;
+                }
                 return input.equalsIgnoreCase(anotherString);
             }
         });
@@ -90,8 +95,9 @@ public boolean matches(final String regex) {
         return verify(new Predicate<String>() {
             @Override
             public boolean apply(String input) {
-                if (input == null)
+                if (input == null) {
                     return false;
+                }
                 return input.matches(regex);
             }
         });
@@ -102,8 +108,9 @@ public boolean matches(final Pattern pattern) {
         return verify(new Predicate<String>() {
             @Override
             public boolean apply(String input) {
-                if (input == null)
+                if (input == null) {
                     return false;
+                }
                 Matcher m = pattern.matcher(input);
                 return m.matches();
             }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FStringConditionsImpl.java
04bc216005090b3a1f19229f2f048930b22a73ef
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2Fmessage%2FMessageProxy.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2Fmessage%2FMessageProxy.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/message/MessageProxy.java
public final class MessageProxy {
    private MessageProxy() {
        // Utility class
    }

        return (T) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] {messageClass},
        return (T) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] {messageClass},
        return (T) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] {messageClass},
        return (T) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] {messageClass},
     * @param proxy message builder proxy
        if (invocationHandler == null) {
        }
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/message/MessageProxy.java
// Utility class
private MessageProxy()
invocationHandler == null
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/message/MessageProxy.java
proxy
        if (invocationHandler == null)
public class MessageProxy {
        return (T) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] { messageClass },
        return (T) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] { messageClass },
        return (T) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] { messageClass },
        return (T) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] { messageClass },
     * @param proxy
        if (invocationHandler == null)
@@ -7,7 +7,11 @@
  * Provides message proxy implementations of interface that records calls to build message from methods annotated with
  * {@link Message}, {@link NotMessage} and {@link MessageContext}.
  */
-public class MessageProxy {
+public final class MessageProxy {
+    private MessageProxy() {
+        // Utility class
+    }
+
     /**
      * Wrap an object into a message proxy supporting {@link Message}, {@link NotMessage} and {@link MessageContext}.
      *
@@ -18,7 +22,7 @@ public class MessageProxy {
      * @return a proxy generating message from annotations.
      */
     public static <T> T wrap(Class<T> messageClass, Object instance, String context) {
-        return (T) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] { messageClass },
+        return (T) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] {messageClass},
                 new MessageBuilderInvocationHandler(context, instance));
     }
 
@@ -32,7 +36,7 @@ public static <T> T wrap(Class<T> messageClass, Object instance, String context)
      * @return a proxy generating message from annotations.
      */
     protected static <T> T wrap(Class<T> messageClass, Object instance, List<MessageBuilderCall> calls) {
-        return (T) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] { messageClass },
+        return (T) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] {messageClass},
                 new MessageBuilderInvocationHandler(calls));
     }
 
@@ -45,7 +49,7 @@ protected static <T> T wrap(Class<T> messageClass, Object instance, List<Message
      * @return a proxy generating message from annotations.
      */
     public static <T> T builder(Class<T> messageClass, String context) {
-        return (T) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] { messageClass },
+        return (T) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] {messageClass},
                 new MessageBuilderInvocationHandler(context));
     }
 
@@ -58,20 +62,21 @@ public static <T> T builder(Class<T> messageClass, String context) {
      * @return a proxy generating message from annotations.
      */
     protected static <T> T builder(Class<T> messageClass, List<MessageBuilderCall> calls) {
-        return (T) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] { messageClass },
+        return (T) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] {messageClass},
                 new MessageBuilderInvocationHandler(calls));
     }
 
     /**
      * Build the message from a proxy
      *
-     * @param proxy
+     * @param proxy message builder proxy
      * @return generated message.
      */
     public static String message(Object proxy) {
         MessageBuilderInvocationHandler invocationHandler = (MessageBuilderInvocationHandler) Proxy.getInvocationHandler(proxy);
-        if (invocationHandler == null)
+        if (invocationHandler == null) {
             return null;
+        }
         return invocationHandler.buildMessage();
     }
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2Fmessage%2FMessageProxy.java
d00f005f21bb2ff2586268d82663b0b97d1942fb
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2Fwait%2FWaitConditionInvocationHandler.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2Fwait%2FWaitConditionInvocationHandler.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/wait/WaitConditionInvocationHandler.java
        if (!ignoreNegation && negation) {
        }
        if (!ignoreNegation && negation)
@@ -65,8 +65,9 @@ protected C conditions(boolean ignoreNot) {
      * @return conditions with the negation applied.
      */
     protected C applyNegation(C conditions, boolean ignoreNegation) {
-        if (!ignoreNegation && negation)
+        if (!ignoreNegation && negation) {
             return (C) conditions.not();
+        }
         return conditions;
     }
 
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2Fwait%2FWaitConditionInvocationHandler.java
be2dcd9bf099b5898f19480b1c9d18380147caed
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2Fwait%2FWaitConditionProxy.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2Fwait%2FWaitConditionProxy.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/wait/WaitConditionProxy.java
public final class WaitConditionProxy {
    private WaitConditionProxy() {
        //Utility class
    }

                .newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] {FluentListConditions.class},
                .newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] {FluentConditions.class},
                    new WaitConditionInvocationHandler(FluentConditions.class, wait, context,
                            new Supplier<FluentConditions>() {
                                @Override
                                public FluentConditions get() {
                                    return new WebElementConditions(elementSupplier.get());
                                }
                            }));
     * @param conditionClass     condition class
     * @param <C>                condition type
        return (C) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] {conditionClass},
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/wait/WaitConditionProxy.java
//Utility class
private WaitConditionProxy()
FluentConditions.class  wait  context 
                            new Supplier<FluentConditions>
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/wait/WaitConditionProxy.java
@Override
                                public FluentConditions get() {
                                    return new WebElementConditions(elementSupplier.get());
new WaitConditionInvocationHandler(FluentConditions.class, wait, context,
                            new Supplier<FluentConditions>()
public class WaitConditionProxy {
                .newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] { FluentListConditions.class },
                .newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] { FluentConditions.class },
                        new WaitConditionInvocationHandler(FluentConditions.class, wait, context,
                                new Supplier<FluentConditions>() {
                                    @Override
                                    public FluentConditions get() {
                                        return new WebElementConditions(elementSupplier.get());
                                    }
                                }));
     * @param conditionClass
        return (C) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] { conditionClass },
FluentConditions.class  wait  context 
                                new Supplier<FluentConditions>
fluentlenium-core/src/main/java/org/fluentlenium/core/conditions/wait/WaitConditionProxy.java
@Override
                                    public FluentConditions get() {
                                        return new WebElementConditions(elementSupplier.get());
new WaitConditionInvocationHandler(FluentConditions.class, wait, context,
                                new Supplier<FluentConditions>()
@@ -17,7 +17,11 @@
 /**
  * Provides proxy implementations of conditions that performs wait from those conditions.
  */
-public class WaitConditionProxy {
+public final class WaitConditionProxy {
+    private WaitConditionProxy() {
+        //Utility class
+    }
+
     /**
      * Build a wait proxy.
      *
@@ -65,7 +69,7 @@ public FluentListConditions get() {
     public static FluentListConditions list(FluentWait wait, String context,
             Supplier<? extends FluentListConditions> conditionsSupplier) {
         return (FluentListConditions) Proxy
-                .newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] { FluentListConditions.class },
+                .newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] {FluentListConditions.class},
                         new WaitConditionInvocationHandler(FluentListConditions.class, wait, context, conditionsSupplier));
     }
 
@@ -80,28 +84,29 @@ public static FluentListConditions list(FluentWait wait, String context,
     public static FluentConditions element(FluentWait wait, String context,
             final Supplier<? extends FluentWebElement> elementSupplier) {
         return (FluentConditions) Proxy
-                .newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] { FluentConditions.class },
-                        new WaitConditionInvocationHandler(FluentConditions.class, wait, context,
-                                new Supplier<FluentConditions>() {
-                                    @Override
-                                    public FluentConditions get() {
-                                        return new WebElementConditions(elementSupplier.get());
-                                    }
-                                }));
+                .newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] {FluentConditions.class},
+                    new WaitConditionInvocationHandler(FluentConditions.class, wait, context,
+                            new Supplier<FluentConditions>() {
+                                @Override
+                                public FluentConditions get() {
+                                    return new WebElementConditions(elementSupplier.get());
+                                }
+                            }));
     }
 
     /**
      * Build a wait proxy.
      *
-     * @param conditionClass
+     * @param conditionClass     condition class
      * @param wait               Fluent wait
      * @param context            Message context
      * @param conditionsSupplier Supplier for elements to wait.
+     * @param <C>                condition type
      * @return a proxy generating message from annotations.
      */
     public static <C extends Conditions<?>> C custom(Class<C> conditionClass, FluentWait wait, String context,
             Supplier<C> conditionsSupplier) {
-        return (C) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] { conditionClass },
+        return (C) Proxy.newProxyInstance(MessageProxy.class.getClassLoader(), new Class<?>[] {conditionClass},
                 new WaitConditionInvocationHandler(conditionClass, wait, context, conditionsSupplier));
     }
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2Fwait%2FWaitConditionProxy.java
952f4691fdbe16d7ac467e748660eeb17b7bac44
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fcss%2FCssSupport.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fcss%2FCssSupport.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/css/CssSupport.java
    void injectResource(String cssResource);
    void injectResource(final String cssResource);
@@ -17,5 +17,5 @@ public interface CssSupport {
      *
      * @param cssResource css classpath resource to inject.
      */
-    void injectResource(final String cssResource);
+    void injectResource(String cssResource);
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fcss%2FCssSupport.java
01fc11272db4f17d85115694121688b6bfbd2821
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FAnnotationsComponentListener.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FAnnotationsComponentListener.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/events/AnnotationsComponentListener.java
        if (element == null) {
        }
        if (components == null) {
        }
        if (element == null) {
        }
        if (components == null) {
        }
        if (element == null)
        if (components == null)
        if (element == null)
        if (components == null)
@@ -27,11 +27,13 @@ public AnnotationsComponentListener(ComponentsAccessor componentsAccessor) {
     }
 
     protected void findByHandler(Class<? extends Annotation> annotation, final By by, WebElement element, WebDriver driver) {
-        if (element == null)
+        if (element == null) {
             return;
+        }
         Set<Object> components = this.componentsAccessor.getComponents(element);
-        if (components == null)
+        if (components == null) {
             return;
+        }
         for (Object component : components) {
             for (Method method : ReflectionUtils.getDeclaredMethodsWithAnnotation(component, annotation)) {
                 Class<?>[] parameterTypes = method.getParameterTypes();
@@ -73,11 +75,13 @@ public void afterFindBy(By by, WebElement element, WebDriver driver) {
     }
 
     protected void defaultHandler(Class<? extends Annotation> annotation, WebElement element, WebDriver driver) {
-        if (element == null)
+        if (element == null) {
             return;
+        }
         Set<Object> components = this.componentsAccessor.getComponents(element);
-        if (components == null)
+        if (components == null) {
             return;
+        }
         for (Object component : components) {
             for (Method method : ReflectionUtils.getDeclaredMethodsWithAnnotation(component, annotation)) {
                 Class<?>[] parameterTypes = method.getParameterTypes();
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FAnnotationsComponentListener.java
71b7bb4be4d2102ba143f3aa196e7a4148e7712d
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FElementListener.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FElementListener.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/events/ElementListener.java
    void on(FluentWebElement element, WebDriver driver);
    void on(final FluentWebElement element, final WebDriver driver);
@@ -14,5 +14,5 @@ public interface ElementListener {
      * @param element the element
      * @param driver  the selenium driver
      */
-    void on(final FluentWebElement element, final WebDriver driver);
+    void on(FluentWebElement element, WebDriver driver);
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FElementListener.java
c2303a36a8073f570477310c64392074a034c320
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FEventAdapter.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FEventAdapter.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/events/EventAdapter.java
    EventAdapter(final EventListener listener, ComponentInstantiator instantiator) {
    public EventAdapter(final EventListener listener, ComponentInstantiator instantiator) {
@@ -12,7 +12,7 @@ class EventAdapter implements WebDriverEventListener {
     private final EventListener listener;
     private final ComponentInstantiator instantiator;
 
-    public EventAdapter(final EventListener listener, ComponentInstantiator instantiator) {
+    EventAdapter(final EventListener listener, ComponentInstantiator instantiator) {
         this.listener = listener;
         this.instantiator = instantiator;
     }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FEventAdapter.java
f0fbe806cf4c78c1873b6eb4e9360288e4522809
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FNavigateAllListener.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FNavigateAllListener.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/events/NavigateAllListener.java
    void on(String url, WebDriver driver, Direction direction);
    void on(final String url, final WebDriver driver, final Direction direction);
@@ -8,5 +8,5 @@ enum Direction {
         BACK, FORWARD, REFRESH
     }
 
-    void on(final String url, final WebDriver driver, final Direction direction);
+    void on(String url, WebDriver driver, Direction direction);
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FNavigateAllListener.java
e1e1cf2f63640d04890219550f5d18f6ebe2364f
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FNavigateListener.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FNavigateListener.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/events/NavigateListener.java
    void on(WebDriver driver);
    void on(final WebDriver driver);
@@ -4,5 +4,5 @@
 
 public interface NavigateListener {
 
-    void on(final WebDriver driver);
+    void on(WebDriver driver);
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FNavigateListener.java
f2872d082f5ea2f08a863ac5edd12211feaa2b6e
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FNavigateToListener.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FNavigateToListener.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/events/NavigateToListener.java
    void on(String url, WebDriver driver);
    void on(final String url, final WebDriver driver);
@@ -4,5 +4,5 @@
 
 public interface NavigateToListener {
 
-    void on(final String url, final WebDriver driver);
+    void on(String url, WebDriver driver);
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FNavigateToListener.java
db7fcc4fb68b48923ed00c9213bbcdf80ef3dbf6
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FScriptListener.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FScriptListener.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/events/ScriptListener.java
    void on(String script, WebDriver driver);
    void on(final String script, final WebDriver driver);
@@ -4,5 +4,5 @@
 
 public interface ScriptListener {
 
-    void on(final String script, final WebDriver driver);
+    void on(String script, WebDriver driver);
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FScriptListener.java
2a1a9740a722a97cf6ddc0aeaec8a5c61ba4ef70
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Ffilter%2FFilter.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Ffilter%2FFilter.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/filter/Filter.java
        if (matcherAttribute == null) {
        }
        if (matcherAttribute == null)
@@ -57,8 +57,9 @@ public String getAttribut() {
 
     public String toString() {
         String matcherAttribute = matcher != null ? matcher.getMatcherSymbol() : "";
-        if (matcherAttribute == null)
+        if (matcherAttribute == null) {
             matcherAttribute = "";
+        }
         return "[" + attribut.toLowerCase() + matcherAttribute + "=\"" + matcher.getValue() + "\"]";
     }
 
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Ffilter%2FFilter.java
27fbfb223bb30f79921841cc63509a76a98ce2d2
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Ffilter%2FFilterPredicate.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Ffilter%2FFilterPredicate.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/filter/FilterPredicate.java
        return ("text".equalsIgnoreCase(filter.getAttribut()))
                ? webElementCustom.text()
                : webElementCustom.attribute(filter.getAttribut());
        return ("text".equalsIgnoreCase(filter.getAttribut())) ?
                webElementCustom.text() :
                webElementCustom.attribute(filter.getAttribut());
@@ -23,9 +23,9 @@ public boolean apply(FluentWebElement webElementCustom) {
     }
 
     private String returnTextIfTextAttributeElseAttributeValue(FluentWebElement webElementCustom) {
-        return ("text".equalsIgnoreCase(filter.getAttribut())) ?
-                webElementCustom.text() :
-                webElementCustom.attribute(filter.getAttribut());
+        return ("text".equalsIgnoreCase(filter.getAttribut()))
+                ? webElementCustom.text()
+                : webElementCustom.attribute(filter.getAttribut());
     }
 
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Ffilter%2FFilterPredicate.java
8dc8dacb04067f90a4295356c4867df4e0798ee1
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Finject%2FInjectionAnnotations.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Finject%2FInjectionAnnotations.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/inject/InjectionAnnotations.java
            if (effectiveClass != null) {
            }
        if (classBy != null && fieldBy instanceof ByIdOrName) {
        }
            if (effectiveClass != null)
        if (classBy != null && fieldBy instanceof ByIdOrName)
@@ -22,8 +22,9 @@ private static boolean isList(Field field) {
     private static Class<?> getEffectiveClass(Field field) {
         if (isList(field)) {
             Class<?> effectiveClass = ReflectionUtils.getFirstGenericType(field);
-            if (effectiveClass != null)
+            if (effectiveClass != null) {
                 return effectiveClass;
+            }
         }
         return field.getType();
     }
@@ -38,8 +39,9 @@ public InjectionAnnotations(Field field) {
     public By buildBy() {
         By fieldBy = fieldAnnotations.buildBy();
         By classBy = classAnnotations.buildBy();
-        if (classBy != null && fieldBy instanceof ByIdOrName)
+        if (classBy != null && fieldBy instanceof ByIdOrName) {
             return classBy;
+        }
         return fieldBy;
     }
 
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Finject%2FInjectionAnnotations.java
a1a39310a9128abd5bb8a736159ea4d8a9270f5b
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Finject%2FInjectionElementLocator.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Finject%2FInjectionElementLocator.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/inject/InjectionElementLocator.java
     *
     * @return then found element
     *
     * @return list of found elements
@@ -54,6 +54,8 @@ FluentLabelProvider getLabelProvider() {
 
     /**
      * Find the element.
+     *
+     * @return then found element
      */
     public WebElement findElement() {
         if (cachedElement != null && shouldCache) {
@@ -70,6 +72,8 @@ public WebElement findElement() {
 
     /**
      * Find the element list.
+     *
+     * @return list of found elements
      */
     public List<WebElement> findElements() {
         if (cachedElementList != null && shouldCache) {
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Finject%2FInjectionElementLocator.java
9b74bccaee59744d96bac591992368288945c346
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FAbstractLocatorHandler.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FAbstractLocatorHandler.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/proxy/AbstractLocatorHandler.java
    private static final int MAX_RETRY = 5;
    private static final int HASH_CODE_SEED = 2048;

    public abstract T getLocatorResultImpl();
        if (getElement() == null) {
        }
                return HASH_CODE_SEED + locator.hashCode();
        for (int i = 0; i < MAX_RETRY; i++) {
    //CHECKSTYLE.OFF: IllegalThrows
    //CHECKSTYLE.ON: IllegalThrows
        if (this == o) {
        }
        if (o == null || getClass() != o.getClass()) {
        }
this == o
fluentlenium-core/src/main/java/org/fluentlenium/core/proxy/AbstractLocatorHandler.java
IllegalThrows
        if (this == o)
    abstract public T getLocatorResultImpl();
        if (getElement() == null)
                return 2048 + locator.hashCode();
        for (int i = 0; i < 5; i++) {
        if (this == o)
        if (o == null || getClass() != o.getClass())
@@ -27,6 +27,9 @@ public abstract class AbstractLocatorHandler<T> implements InvocationHandler, Lo
     private static final Method EQUALS = getMethod(Object.class, "equals", Object.class);
     private static final Method HASH_CODE = getMethod(Object.class, "hashCode");
 
+    private static final int MAX_RETRY = 5;
+    private static final int HASH_CODE_SEED = 2048;
+
     protected HookChainBuilder hookChainBuilder = null;
     protected List<HookDefinition<?>> hookDefinitions = null;
 
@@ -78,7 +81,7 @@ public void setProxy(T proxy) {
         this.proxy = proxy;
     }
 
-    abstract public T getLocatorResultImpl();
+    public abstract T getLocatorResultImpl();
 
     public synchronized T getLocatorResult() {
         if (result != null) {
@@ -143,8 +146,9 @@ public ElementLocator getHookLocator() {
 
     @Override
     public WebElement getHookElement() {
-        if (getElement() == null)
+        if (getElement() == null) {
             return null;
+        }
         if (hooks != null && hooks.size() > 0) {
             return hooks.get(hooks.size() - 1);
         }
@@ -196,7 +200,7 @@ public Object invoke(Object proxy, Method method, Object[] args) throws Throwabl
             }
 
             if (HASH_CODE.equals(method)) {
-                return 2048 + locator.hashCode();
+                return HASH_CODE_SEED + locator.hashCode();
             }
         }
 
@@ -211,7 +215,7 @@ public Object invoke(Object proxy, Method method, Object[] args) throws Throwabl
         getLocatorResult();
 
         Throwable lastThrowable = null;
-        for (int i = 0; i < 5; i++) {
+        for (int i = 0; i < MAX_RETRY; i++) {
             try {
                 return invoke(method, args);
             } catch (StaleElementReferenceException e) {
@@ -224,6 +228,7 @@ public Object invoke(Object proxy, Method method, Object[] args) throws Throwabl
         throw lastThrowable;
     }
 
+    //CHECKSTYLE.OFF: IllegalThrows
     private Object invoke(Method method, Object[] args) throws Throwable {
         Object returnValue;
         try {
@@ -234,13 +239,16 @@ private Object invoke(Method method, Object[] args) throws Throwable {
         }
         return returnValue;
     }
+    //CHECKSTYLE.ON: IllegalThrows
 
     @Override
     public boolean equals(Object o) {
-        if (this == o)
+        if (this == o) {
             return true;
-        if (o == null || getClass() != o.getClass())
+        }
+        if (o == null || getClass() != o.getClass()) {
             return false;
+        }
 
         AbstractLocatorHandler that = (AbstractLocatorHandler) o;
 
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FAbstractLocatorHandler.java
8f9e0e139914045a22bdcafd5f712a5bfaba04a9
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FAtIndexElementLocator.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FAtIndexElementLocator.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/proxy/AtIndexElementLocator.java
        if (index >= elements.size()) {
        }
        if (element == null) {
        }
        if (index >= elements.size())
        if (element == null)
@@ -22,16 +22,18 @@ public AtIndexElementLocator(ElementLocator listLocator, int index) {
     @Override
     public WebElement findElement() {
         List<WebElement> elements = this.listLocator.findElements();
-        if (index >= elements.size())
+        if (index >= elements.size()) {
             return null;
+        }
         return elements.get(index);
     }
 
     @Override
     public List<WebElement> findElements() {
         WebElement element = findElement();
-        if (element == null)
+        if (element == null) {
             return Collections.emptyList();
+        }
         return Arrays.asList(element);
     }
 
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FAtIndexElementLocator.java
63ecd1b1f6e221ee1d6237723a80fa978a9360bf
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FComponentHandler.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FComponentHandler.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/proxy/ComponentHandler.java
    //CHECKSTYLE.OFF: IllegalThrows
    //CHECKSTYLE.ON: IllegalThrows
@@ -68,11 +68,13 @@ protected WebElement getInvocationTarget(Method method) {
         return getHookElement();
     }
 
+    //CHECKSTYLE.OFF: IllegalThrows
     public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
         if (GET_WRAPPED_ELEMENT.equals(method)) {
             return isLoaded() ? getLocatorResult() : proxy;
         }
         return super.invoke(proxy, method, args);
     }
+    //CHECKSTYLE.ON: IllegalThrows
 
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FComponentHandler.java
4d0b6aad64ca27724d5de720ad5f081a7ad99a01
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FElementSupplierLocator.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FElementSupplierLocator.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/proxy/ElementSupplierLocator.java
        if (webElement == null) {
        }
        if (webElement == null)
@@ -26,8 +26,9 @@ public WebElement findElement() {
     @Override
     public List<WebElement> findElements() {
         WebElement webElement = elementSupplier.get();
-        if (webElement == null)
+        if (webElement == null) {
             return Collections.emptyList();
+        }
         return Arrays.asList(webElement);
     }
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FElementSupplierLocator.java
015224fad37fd4475bf612f72a74f8a4c636e25b
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FLastElementLocator.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FLastElementLocator.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/proxy/LastElementLocator.java
        if (elements.size() == 0) {
        }
        if (element == null) {
        }
        if (elements.size() == 0)
        if (element == null)
@@ -20,16 +20,18 @@ public LastElementLocator(ElementLocator listLocator) {
     @Override
     public WebElement findElement() {
         List<WebElement> elements = this.listLocator.findElements();
-        if (elements.size() == 0)
+        if (elements.size() == 0) {
             return null;
+        }
         return elements.get(elements.size() - 1);
     }
 
     @Override
     public List<WebElement> findElements() {
         WebElement element = findElement();
-        if (element == null)
+        if (element == null) {
             return Collections.emptyList();
+        }
         return Arrays.asList(element);
     }
 
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FLastElementLocator.java
6ff59e121154092d89c839d51720e10de44206f1
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FListHandler.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FListHandler.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/proxy/ListHandler.java
            if (foundElements == null) {
            }
        if (foundElements == null) {
        }
            if (foundElements == null)
        if (foundElements == null)
@@ -21,8 +21,9 @@ public ListHandler(ElementLocator locator) {
         if (this.locator instanceof WrapsElements) {
             fireProxyElementSearch();
             List<WebElement> foundElements = ((WrapsElements) this.locator).getWrappedElements();
-            if (foundElements == null)
+            if (foundElements == null) {
                 foundElements = Collections.emptyList();
+            }
             this.result = wrapElements(foundElements);
             fireProxyElementFound(this.result);
         }
@@ -63,8 +64,9 @@ protected boolean isStale() {
     @Override
     public List<WebElement> getLocatorResultImpl() {
         List<WebElement> foundElements = getHookLocator().findElements();
-        if (foundElements == null)
+        if (foundElements == null) {
             foundElements = Collections.emptyList();
+        }
         return wrapElements(foundElements);
     }
 
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FListHandler.java
6ab93727124d8cf68a4015973ee7b3d3be8628c0
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FLocatorProxies.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FLocatorProxies.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/proxy/LocatorProxies.java
public final class LocatorProxies {
    private LocatorProxies() {
        // Utility class
    }

        if (locatorHandler == null) {
        }
                new Class[] {WebElement.class, Locatable.class, WrapsElement.class}, handler);
                .newProxyInstance(locator.getClass().getClassLoader(), new Class[] {List.class, WrapsElements.class}, handler);
fluentlenium-core/src/main/java/org/fluentlenium/core/proxy/LocatorProxies.java
// Utility class
private LocatorProxies()
public class LocatorProxies {
        if (locatorHandler == null)
                new Class[] { WebElement.class, Locatable.class, WrapsElement.class }, handler);
                .newProxyInstance(locator.getClass().getClassLoader(), new Class[] { List.class, WrapsElements.class }, handler);
@@ -16,7 +16,11 @@
 /**
  * Utility class to create proxies of WebElement, Component, FluentList and List of Components based on their locators.
  */
-public class LocatorProxies {
+public final class LocatorProxies {
+    private LocatorProxies() {
+        // Utility class
+    }
+
     public static LocatorHandler getLocatorHandler(Object proxy) {
         while (proxy instanceof WrapsElements && !Proxy.isProxyClass(proxy.getClass())) {
             proxy = ((WrapsElements) proxy).getWrappedElements();
@@ -47,8 +51,9 @@ public static void reset(Object proxy) {
 
     public static boolean isPresent(Object proxy) {
         LocatorHandler locatorHandler = getLocatorHandler(proxy);
-        if (locatorHandler == null)
+        if (locatorHandler == null) {
             return true;
+        }
         return locatorHandler.isPresent();
     }
 
@@ -98,7 +103,7 @@ public static WebElement createWebElement(Supplier<WebElement> elementSupplier)
     public static WebElement createWebElement(ElementLocator locator) {
         final ComponentHandler handler = new ComponentHandler(locator);
         WebElement proxy = (WebElement) Proxy.newProxyInstance(locator.getClass().getClassLoader(),
-                new Class[] { WebElement.class, Locatable.class, WrapsElement.class }, handler);
+                new Class[] {WebElement.class, Locatable.class, WrapsElement.class}, handler);
         handler.setProxy(proxy);
         return proxy;
     }
@@ -114,7 +119,7 @@ public static List<WebElement> createWebElementList(Supplier<List<WebElement>> e
     public static List<WebElement> createWebElementList(ElementLocator locator) {
         final ListHandler handler = new ListHandler(locator);
         List<WebElement> proxy = (List<WebElement>) Proxy
-                .newProxyInstance(locator.getClass().getClassLoader(), new Class[] { List.class, WrapsElements.class }, handler);
+                .newProxyInstance(locator.getClass().getClassLoader(), new Class[] {List.class, WrapsElements.class}, handler);
         handler.setProxy(proxy);
         return proxy;
     }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FLocatorProxies.java
2049085a0cb2e6023a708a5314c5b3c3e6714b06
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fsearch%2FSearchControl.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fsearch%2FSearchControl.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/core/search/SearchControl.java
    //CHECKSTYLE.OFF: MethodName
    FluentList<E> find(By locator, Filter... filters);
    FluentList<E> $(By locator, Filter... filters);
    E el(By locator, Filter... filters);
    //CHECKSTYLE.ON: MethodName
    FluentList<E> find(By locator, final Filter... filters);
    FluentList<E> $(By locator, final Filter... filters);
    E el(By locator, final Filter... filters);
@@ -6,6 +6,7 @@
 import org.openqa.selenium.By;
 
 public interface SearchControl<E extends FluentWebElement> {
+    //CHECKSTYLE.OFF: MethodName
     /**
      * Find list of elements with CSS selector and filters.
      *
@@ -64,7 +65,7 @@ public interface SearchControl<E extends FluentWebElement> {
      * @param filters filters set
      * @return list of elements
      */
-    FluentList<E> find(By locator, final Filter... filters);
+    FluentList<E> find(By locator, Filter... filters);
 
     /**
      * Find list of elements with Selenium locator and filters.
@@ -73,7 +74,7 @@ public interface SearchControl<E extends FluentWebElement> {
      * @param filters filters set
      * @return list of elements
      */
-    FluentList<E> $(By locator, final Filter... filters);
+    FluentList<E> $(By locator, Filter... filters);
 
     /**
      * Find first element with Selenium locator and filters.
@@ -82,5 +83,6 @@ public interface SearchControl<E extends FluentWebElement> {
      * @param filters filters set
      * @return element
      */
-    E el(By locator, final Filter... filters);
+    E el(By locator, Filter... filters);
+    //CHECKSTYLE.ON: MethodName
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fsearch%2FSearchControl.java
1eb3e42c3277a4f6707f151941e06c2e83b5c4c5
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Futils%2FReflectionUtils.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Futils%2FReflectionUtils.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/main/java/org/fluentlenium/utils/ReflectionUtils.java
public final class ReflectionUtils {
    private ReflectionUtils() {
        // Utility class
    }

                if (parameterTypes.length != argsTypes.length) {
                }
                if (argsTypes.length == mandatoryCount) {
                }
                if (args.length == mandatoryCount) {
                }
        if (object == null) {
            return getDeclaredMethodsWithAnnotation(null, annotation);
        }
        if (objectClass == null) {
        }
        if (accessible) {
        }
        if (accessible) {
        }
        if (accessible) {
        }
fluentlenium-core/src/main/java/org/fluentlenium/utils/ReflectionUtils.java
// Utility class
private ReflectionUtils()
public class ReflectionUtils {
                if (parameterTypes.length != argsTypes.length)
                if (argsTypes.length == mandatoryCount)
                if (args.length == mandatoryCount)
        if (object == null)
            return getDeclaredMethodsWithAnnotation((Class<?>) null, annotation);
        if (objectClass == null)
        if (accessible)
        if (accessible)
        if (accessible)
@@ -23,7 +23,11 @@
 /**
  * Utility class for reflection.
  */
-public class ReflectionUtils {
+public final class ReflectionUtils {
+    private ReflectionUtils() {
+        // Utility class
+    }
+
     private static final Class<?>[] EMPTY_CLASS_ARRAY = new Class<?>[0];
     private static final Object[] EMPTY_OBJECT_ARRAY = new Object[0];
 
@@ -154,8 +158,9 @@ public static <T> Constructor<T> getConstructor(Class<T> cls, Class<?>... argsTy
         } catch (NoSuchMethodException e) {
             for (Constructor<?> constructor : cls.getDeclaredConstructors()) {
                 Class<?>[] parameterTypes = constructor.getParameterTypes();
-                if (parameterTypes.length != argsTypes.length)
+                if (parameterTypes.length != argsTypes.length) {
                     continue;
+                }
 
                 boolean match = true;
                 for (int i = 0; i < parameterTypes.length; i++) {
@@ -209,8 +214,9 @@ public static <T> Constructor<T> getConstructorOptional(int mandatoryCount, Clas
             try {
                 return getConstructor(cls, argsTypes);
             } catch (NoSuchMethodException e) {
-                if (argsTypes.length == mandatoryCount)
+                if (argsTypes.length == mandatoryCount) {
                     break;
+                }
                 argsTypes = Arrays.copyOf(argsTypes, argsTypes.length - 1);
             }
         }
@@ -293,17 +299,19 @@ public static <T> T newInstanceOptionalArgs(int mandatoryCount, Class<T> cls, Ob
             try {
                 return newInstance(cls, args);
             } catch (NoSuchMethodException e) {
-                if (args.length == mandatoryCount)
+                if (args.length == mandatoryCount) {
                     break;
+                }
                 args = Arrays.copyOf(args, args.length - 1);
             }
         }
         throw new NoSuchMethodException("Can't find any valid constructor.");
     }
 
     public static List<Method> getDeclaredMethodsWithAnnotation(Object object, Class<? extends Annotation> annotation) {
-        if (object == null)
-            return getDeclaredMethodsWithAnnotation((Class<?>) null, annotation);
+        if (object == null) {
+            return getDeclaredMethodsWithAnnotation(null, annotation);
+        }
         return getDeclaredMethodsWithAnnotation(object.getClass(), annotation);
     }
 
@@ -317,8 +325,9 @@ public static List<Method> getDeclaredMethodsWithAnnotation(Object object, Class
     public static List<Method> getDeclaredMethodsWithAnnotation(Class<?> objectClass, Class<? extends Annotation> annotation) {
         List<Method> methods = new ArrayList<>();
 
-        if (objectClass == null)
+        if (objectClass == null) {
             return methods;
+        }
 
         ClassAnnotationKey cacheKey = new ClassAnnotationKey(objectClass, annotation);
         if (DECLARED_METHODS_CACHE.containsKey(cacheKey)) {
@@ -353,8 +362,9 @@ public static List<Method> getDeclaredMethodsWithAnnotation(Class<?> objectClass
     public static Object invoke(Method method, Object obj, Object... args)
             throws InvocationTargetException, IllegalAccessException {
         boolean accessible = method.isAccessible();
-        if (accessible)
+        if (accessible) {
             return method.invoke(obj, args);
+        }
         method.setAccessible(true);
         try {
             return method.invoke(obj, args);
@@ -376,8 +386,9 @@ public static Object invoke(Method method, Object obj, Object... args)
      */
     public static Object get(Field field, Object obj) throws IllegalAccessException {
         boolean accessible = field.isAccessible();
-        if (accessible)
+        if (accessible) {
             return field.get(obj);
+        }
         field.setAccessible(true);
         try {
             return field.get(obj);
@@ -399,8 +410,9 @@ public static Object get(Field field, Object obj) throws IllegalAccessException
      */
     public static void set(Field field, Object obj, Object value) throws IllegalAccessException {
         boolean accessible = field.isAccessible();
-        if (accessible)
+        if (accessible) {
             field.set(obj, value);
+        }
         field.setAccessible(true);
         try {
             field.set(obj, value);
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Futils%2FReflectionUtils.java
99e031d698c900056509d20a718e8e9b992a3a7e
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2FFluentAdapterTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2FFluentAdapterTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/adapter/FluentAdapterTest.java
    public void isDriverAvailableBehavesAsExpected() {
    public void deletagesToWebDriverWhenInitialized() {
    public void registeringSameDriverMultipleTimeDoesntThrowException() {
    public void registeringAnotherDriverThrowException() {
    public void registeringSameDriverDoesntThrowException() {
    public void shouldConfigureProperly() {
    public void shouldNewWebDriverCreateNewInstances() {
        WebDriver newWebDriver = null;
        WebDriver newWebDriver2 = null;
            newWebDriver = adapter.newWebDriver();
            newWebDriver2 = adapter.newWebDriver();
            assertThat(newWebDriver).isNotSameAs(newWebDriver2);
            assertThat(newWebDriver).isInstanceOf(EventFiringWebDriver.class);
            assertThat(newWebDriver2).isInstanceOf(EventFiringWebDriver.class);
            assertThat(((WrapsDriver) newWebDriver).getWrappedDriver()).isInstanceOf(HtmlUnitDriver.class);
            assertThat(((WrapsDriver) newWebDriver).getWrappedDriver()).isInstanceOf(HtmlUnitDriver.class);
            if (newWebDriver != null) {
                newWebDriver.quit();
            if (newWebDriver2 != null) {
                newWebDriver2.quit();
    public void is_driver_available_behaves_as_expected() {
    public void deletages_to_webdriver_when_initialized() {
    public void registering_same_driver_multiple_time_doesnt_throw_exception() {
    public void registering_another_driver_throw_exception() {
    public void registering_same_driver_doesnt_throw_exception() {
    public void should_configure_properly() {
    public void should_new_web_driver_create_new_instances() {
        WebDriver webDriver = null;
        WebDriver webDriver2 = null;
            webDriver = adapter.newWebDriver();
            webDriver2 = adapter.newWebDriver();
            assertThat(webDriver).isNotSameAs(webDriver2);
            assertThat(webDriver).isInstanceOf(EventFiringWebDriver.class);
            assertThat(webDriver2).isInstanceOf(EventFiringWebDriver.class);
            assertThat(((WrapsDriver) webDriver).getWrappedDriver()).isInstanceOf(HtmlUnitDriver.class);
            assertThat(((WrapsDriver) webDriver).getWrappedDriver()).isInstanceOf(HtmlUnitDriver.class);
            if (webDriver != null) {
                webDriver.quit();
            if (webDriver2 != null) {
                webDriver2.quit();
@@ -25,7 +25,7 @@ public class FluentAdapterTest {
     private SharedMutator sharedMutator;
 
     @Test
-    public void is_driver_available_behaves_as_expected() {
+    public void isDriverAvailableBehavesAsExpected() {
         FluentAdapter adapter = new FluentAdapter(webDriver);
         assertThat(adapter.isFluentDriverAvailable()).isTrue();
 
@@ -34,7 +34,7 @@ public void is_driver_available_behaves_as_expected() {
     }
 
     @Test
-    public void deletages_to_webdriver_when_initialized() {
+    public void deletagesToWebDriverWhenInitialized() {
         FluentAdapter adapter = new FluentAdapter();
         adapter.initFluent(webDriver);
 
@@ -43,7 +43,7 @@ public void deletages_to_webdriver_when_initialized() {
     }
 
     @Test
-    public void registering_same_driver_multiple_time_doesnt_throw_exception() {
+    public void registeringSameDriverMultipleTimeDoesntThrowException() {
         FluentAdapter adapter = new FluentAdapter();
         adapter.initFluent(webDriver);
 
@@ -52,21 +52,21 @@ public void registering_same_driver_multiple_time_doesnt_throw_exception() {
     }
 
     @Test(expected = IllegalStateException.class)
-    public void registering_another_driver_throw_exception() {
+    public void registeringAnotherDriverThrowException() {
         FluentAdapter adapter = new FluentAdapter();
         adapter.initFluent(webDriver);
         adapter.initFluent(webDriver2);
     }
 
     @Test
-    public void registering_same_driver_doesnt_throw_exception() {
+    public void registeringSameDriverDoesntThrowException() {
         FluentAdapter adapter = new FluentAdapter();
         adapter.initFluent(webDriver);
         adapter.initFluent(webDriver);
     }
 
     @Test
-    public void should_configure_properly() {
+    public void shouldConfigureProperly() {
         FluentAdapter adapter = new FluentAdapter();
 
         adapter.getConfiguration().setScreenshotMode(ConfigurationProperties.TriggerMode.AUTOMATIC_ON_FAIL);
@@ -87,7 +87,7 @@ public void should_configure_properly() {
     }
 
     @Test
-    public void should_new_web_driver_create_new_instances() {
+    public void shouldNewWebDriverCreateNewInstances() {
         FluentAdapter adapter = new FluentAdapter() {
             @Override
             public String getWebDriver() {
@@ -97,24 +97,24 @@ public String getWebDriver() {
 
         adapter.initFluent(this.webDriver);
 
-        WebDriver webDriver = null;
-        WebDriver webDriver2 = null;
+        WebDriver newWebDriver = null;
+        WebDriver newWebDriver2 = null;
         try {
-            webDriver = adapter.newWebDriver();
-            webDriver2 = adapter.newWebDriver();
+            newWebDriver = adapter.newWebDriver();
+            newWebDriver2 = adapter.newWebDriver();
 
-            assertThat(webDriver).isNotSameAs(webDriver2);
-            assertThat(webDriver).isInstanceOf(EventFiringWebDriver.class);
-            assertThat(webDriver2).isInstanceOf(EventFiringWebDriver.class);
+            assertThat(newWebDriver).isNotSameAs(newWebDriver2);
+            assertThat(newWebDriver).isInstanceOf(EventFiringWebDriver.class);
+            assertThat(newWebDriver2).isInstanceOf(EventFiringWebDriver.class);
 
-            assertThat(((WrapsDriver) webDriver).getWrappedDriver()).isInstanceOf(HtmlUnitDriver.class);
-            assertThat(((WrapsDriver) webDriver).getWrappedDriver()).isInstanceOf(HtmlUnitDriver.class);
+            assertThat(((WrapsDriver) newWebDriver).getWrappedDriver()).isInstanceOf(HtmlUnitDriver.class);
+            assertThat(((WrapsDriver) newWebDriver).getWrappedDriver()).isInstanceOf(HtmlUnitDriver.class);
         } finally {
-            if (webDriver != null) {
-                webDriver.quit();
+            if (newWebDriver != null) {
+                newWebDriver.quit();
             }
-            if (webDriver2 != null) {
-                webDriver2.quit();
+            if (newWebDriver2 != null) {
+                newWebDriver2.quit();
             }
         }
 
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2FFluentAdapterTest.java
8021a9735fa5f563ce3c85401f403f9c51e05fec
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2FSharedWebDriverContainerTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2FSharedWebDriverContainerTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/adapter/SharedWebDriverContainerTest.java
    public void getOrCreateDriverWithSameTestNamesCreatesOneInstance() {
    public void getOrCreateDriverWithDifferentTestNamesCreatesDistinctInstances() {
    public void getOrCreateDriverWithDifferentTestClassesCreatesDistinctInstances() {
    public void getOrCreateDriverWithDifferentTestNamesAndStrategyPerClassCreatesOneInstance() {
    public void getOrCreateDriverWithDifferentTestNamesAndDifferentTestClassAndStrategyPerClassCreatesDistinctInstance() {
    public void getOrCreateDriverWithDifferentTestNamesAndDifferentTestClassAndStrategyOnceCreatesOneInstance() {
    public void quitAllShouldQuitAllDrivers() {
    public void getOrCreateDriver_with_same_test_names_creates_one_instance() {
    public void getOrCreateDriver_with_different_test_names_creates_distinct_instances() {
    public void getOrCreateDriver_with_different_test_classes_creates_distinct_instances() {
    public void getOrCreateDriver_with_different_test_names_and_strategy_per_class_creates_one_instance() {
    public void
    getOrCreateDriver_with_different_test_names_and_different_test_class_and_strategy_per_class_creates_distinct_instance() {
    public void getOrCreateDriver_with_different_test_names_and_different_test_class_and_strategy_once_creates_one_instance() {
    public void quitAll_should_quit_all_drivers() {
@@ -29,7 +29,7 @@ public void after() {
     }
 
     @Test
-    public void getOrCreateDriver_with_same_test_names_creates_one_instance() {
+    public void getOrCreateDriverWithSameTestNamesCreatesOneInstance() {
         SharedWebDriver driver = container.getOrCreateDriver(this, Object.class, "test", DriverLifecycle.METHOD);
 
         assertThat(container.getAllDrivers()).containsOnly(driver);
@@ -48,7 +48,7 @@ public void getOrCreateDriver_with_same_test_names_creates_one_instance() {
     }
 
     @Test
-    public void getOrCreateDriver_with_different_test_names_creates_distinct_instances() {
+    public void getOrCreateDriverWithDifferentTestNamesCreatesDistinctInstances() {
         SharedWebDriver driver = container.getOrCreateDriver(this, Object.class, "test", DriverLifecycle.METHOD);
 
         assertThat(container.getAllDrivers()).containsOnly(driver);
@@ -71,7 +71,7 @@ public void getOrCreateDriver_with_different_test_names_creates_distinct_instanc
     }
 
     @Test
-    public void getOrCreateDriver_with_different_test_classes_creates_distinct_instances() {
+    public void getOrCreateDriverWithDifferentTestClassesCreatesDistinctInstances() {
         SharedWebDriver driver = container.getOrCreateDriver(this, Object.class, "test", DriverLifecycle.METHOD);
 
         assertThat(container.getAllDrivers()).containsOnly(driver);
@@ -97,7 +97,7 @@ public void getOrCreateDriver_with_different_test_classes_creates_distinct_insta
     }
 
     @Test
-    public void getOrCreateDriver_with_different_test_names_and_strategy_per_class_creates_one_instance() {
+    public void getOrCreateDriverWithDifferentTestNamesAndStrategyPerClassCreatesOneInstance() {
         SharedWebDriver driver = container.getOrCreateDriver(this, Object.class, "test", DriverLifecycle.CLASS);
 
         assertThat(container.getAllDrivers()).containsOnly(driver);
@@ -116,8 +116,7 @@ public void getOrCreateDriver_with_different_test_names_and_strategy_per_class_c
     }
 
     @Test
-    public void
-    getOrCreateDriver_with_different_test_names_and_different_test_class_and_strategy_per_class_creates_distinct_instance() {
+    public void getOrCreateDriverWithDifferentTestNamesAndDifferentTestClassAndStrategyPerClassCreatesDistinctInstance() {
         SharedWebDriver driver = container.getOrCreateDriver(this, Object.class, "test", DriverLifecycle.CLASS);
 
         assertThat(container.getAllDrivers()).containsOnly(driver);
@@ -143,7 +142,7 @@ public void getOrCreateDriver_with_different_test_names_and_strategy_per_class_c
     }
 
     @Test
-    public void getOrCreateDriver_with_different_test_names_and_different_test_class_and_strategy_once_creates_one_instance() {
+    public void getOrCreateDriverWithDifferentTestNamesAndDifferentTestClassAndStrategyOnceCreatesOneInstance() {
         SharedWebDriver driver = container.getOrCreateDriver(this, Object.class, "test", DriverLifecycle.JVM);
 
         assertThat(container.getAllDrivers()).containsOnly(driver);
@@ -165,7 +164,7 @@ public void getOrCreateDriver_with_different_test_names_and_different_test_class
     }
 
     @Test
-    public void quitAll_should_quit_all_drivers() {
+    public void quitAllShouldQuitAllDrivers() {
         SharedWebDriver driver = container.getOrCreateDriver(this, Object.class, "test", DriverLifecycle.METHOD);
         SharedWebDriver driver2 = container.getOrCreateDriver(this, String.class, "test", DriverLifecycle.METHOD);
 
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2FSharedWebDriverContainerTest.java
6fee291ace21bc1b88c63abdd1a379890871b7b2
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FAbstractPropertiesConfigurationTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FAbstractPropertiesConfigurationTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/configuration/AbstractPropertiesConfigurationTest.java
        if (propertyValue == null) {
        }
        if (propertyValue == null)
@@ -25,8 +25,9 @@ public static class DummyConfigurationDefaults extends ConfigurationDefaults {
     protected abstract void mockProperty(String propertyName, Object propertyValue);
 
     protected String valueToString(Object propertyValue) {
-        if (propertyValue == null)
+        if (propertyValue == null) {
             return null;
+        }
         if (propertyValue instanceof Class) {
             return ((Class) propertyValue).getName();
         }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FAbstractPropertiesConfigurationTest.java
bad9adf39194ebb5e27c997813f2761af8278cf5
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FConfigurationDefaultsTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FConfigurationDefaultsTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/configuration/ConfigurationDefaultsTest.java
            if (readMethod.getDeclaringClass() == Object.class) {
            }
            if (readMethod.getDeclaringClass() == Object.class)
@@ -19,8 +19,9 @@ public void testConfiguration() throws IntrospectionException, InvocationTargetE
 
         for (PropertyDescriptor prop : props) {
             Method readMethod = prop.getReadMethod();
-            if (readMethod.getDeclaringClass() == Object.class)
+            if (readMethod.getDeclaringClass() == Object.class) {
                 continue;
+            }
             switch (prop.getName()) {
             case "driverLifecycle":
                 Assertions.assertThat(readMethod.invoke(configurationDefaults)).isEqualTo(DriverLifecycle.METHOD);
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FConfigurationDefaultsTest.java
80b40d74296ceccdac7b63992d955de452f320e0
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FConfigurationFactoryProviderTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FConfigurationFactoryProviderTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/configuration/ConfigurationFactoryProviderTest.java
    private static final class PrivateConfigurationDefaults extends ConfigurationDefaults {
    public static final class FailingConfigurationDefaults extends ConfigurationDefaults {
    private static class PrivateConfigurationDefaults extends ConfigurationDefaults {
    public static class FailingConfigurationDefaults extends ConfigurationDefaults {
@@ -61,12 +61,12 @@ public String getBaseUrl() {
         }
     }
 
-    private static class PrivateConfigurationDefaults extends ConfigurationDefaults {
+    private static final class PrivateConfigurationDefaults extends ConfigurationDefaults {
         private PrivateConfigurationDefaults() {
         }
     }
 
-    public static class FailingConfigurationDefaults extends ConfigurationDefaults {
+    public static final class FailingConfigurationDefaults extends ConfigurationDefaults {
         private FailingConfigurationDefaults() {
             throw new IllegalStateException("This must FAIL!");
         }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FConfigurationFactoryProviderTest.java
20c13ccba6bdf238c8c4dc8c9fd8978693ea552d
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FReflectiveWebDriverFactoryTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FReflectiveWebDriverFactoryTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/configuration/ReflectiveWebDriverFactoryTest.java
    public static final class NoConstructorDriver extends HtmlUnitDriver {
    public abstract static class AbstractDriver extends HtmlUnitDriver {
    public static class NoConstructorDriver extends HtmlUnitDriver {
    public static abstract class AbstractDriver extends HtmlUnitDriver {
@@ -11,12 +11,12 @@
 import static org.assertj.core.api.Assertions.assertThatThrownBy;
 
 public class ReflectiveWebDriverFactoryTest {
-    public static class NoConstructorDriver extends HtmlUnitDriver {
+    public static final class NoConstructorDriver extends HtmlUnitDriver {
         private NoConstructorDriver() {
         }
     }
 
-    public static abstract class AbstractDriver extends HtmlUnitDriver {
+    public abstract static class AbstractDriver extends HtmlUnitDriver {
         public AbstractDriver() {
         }
     }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FReflectiveWebDriverFactoryTest.java
714eab8f35926193ec76ed7ac81ee872a9a1327d
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FRemoteWebDriverTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FRemoteWebDriverTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/configuration/RemoteWebDriverTest.java
                return webDriver;
        WebDriver newWebDriver = factorySpy.newWebDriver(null, null);
        Assertions.assertThat(newWebDriver).isSameAs(webDriver);
        verify(factorySpy).newRemoteWebDriver(new Object[] {null, defaultCapabilities});
        WebDriver newWebDriver = factorySpy.newWebDriver(null, programmaticConfiguration);
        Assertions.assertThat(newWebDriver).isSameAs(webDriver);
        verify(factorySpy).newRemoteWebDriver(new Object[] {new URL("http://localhost:4444"), defaultCapabilities});
        WebDriver newWebDriver = factorySpy.newWebDriver(capabilities, programmaticConfiguration);
        Assertions.assertThat(newWebDriver).isSameAs(webDriver);
        verify(factorySpy).newRemoteWebDriver(new Object[] {new URL("http://localhost:4444"), capabilities});
        WebDriver newWebDriver = factorySpy.newWebDriver(capabilities, null);
        Assertions.assertThat(newWebDriver).isSameAs(webDriver);
        verify(factorySpy).newRemoteWebDriver(new Object[] {null, capabilities});
import static org.mockito.Mockito.mock;
        final WebDriver webDriverMock = mock(WebDriver.class);

                return webDriverMock;
        WebDriver webDriver = factorySpy.newWebDriver(null, null);
        Assertions.assertThat(webDriver).isSameAs(webDriver);
        verify(factorySpy).newRemoteWebDriver(new Object[] { null, defaultCapabilities });
        WebDriver webDriver = factorySpy.newWebDriver(null, programmaticConfiguration);
        Assertions.assertThat(webDriver).isSameAs(webDriver);
        verify(factorySpy).newRemoteWebDriver(new Object[] { new URL("http://localhost:4444"), defaultCapabilities });
        WebDriver webDriver = factorySpy.newWebDriver(capabilities, programmaticConfiguration);
        Assertions.assertThat(webDriver).isSameAs(webDriver);
        verify(factorySpy).newRemoteWebDriver(new Object[] { new URL("http://localhost:4444"), capabilities });
        WebDriver webDriver = factorySpy.newWebDriver(capabilities, null);
        Assertions.assertThat(webDriver).isSameAs(webDriver);
        verify(factorySpy).newRemoteWebDriver(new Object[] { null, capabilities });
@@ -12,7 +12,6 @@
 import java.net.MalformedURLException;
 import java.net.URL;
 
-import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.spy;
 import static org.mockito.Mockito.verify;
 
@@ -24,13 +23,11 @@ public class RemoteWebDriverTest {
 
     @Before
     public void before() {
-        final WebDriver webDriverMock = mock(WebDriver.class);
-
         RemoteWebDriverFactory factory = new RemoteWebDriverFactory() {
             @Override
             protected WebDriver newRemoteWebDriver(Object[] args)
                     throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException {
-                return webDriverMock;
+                return webDriver;
             }
         };
         factorySpy = spy(factory);
@@ -39,12 +36,12 @@ protected WebDriver newRemoteWebDriver(Object[] args)
     @Test
     public void testDefault()
             throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException {
-        WebDriver webDriver = factorySpy.newWebDriver(null, null);
-        Assertions.assertThat(webDriver).isSameAs(webDriver);
+        WebDriver newWebDriver = factorySpy.newWebDriver(null, null);
+        Assertions.assertThat(newWebDriver).isSameAs(webDriver);
 
         DesiredCapabilities defaultCapabilities = new DesiredCapabilities();
 
-        verify(factorySpy).newRemoteWebDriver(new Object[] { null, defaultCapabilities });
+        verify(factorySpy).newRemoteWebDriver(new Object[] {null, defaultCapabilities});
     }
 
     @Test
@@ -55,12 +52,12 @@ public void testCustomRemoteUrl()
         ProgrammaticConfiguration programmaticConfiguration = new ProgrammaticConfiguration();
         programmaticConfiguration.setRemoteUrl("http://localhost:4444");
 
-        WebDriver webDriver = factorySpy.newWebDriver(null, programmaticConfiguration);
-        Assertions.assertThat(webDriver).isSameAs(webDriver);
+        WebDriver newWebDriver = factorySpy.newWebDriver(null, programmaticConfiguration);
+        Assertions.assertThat(newWebDriver).isSameAs(webDriver);
 
         DesiredCapabilities defaultCapabilities = new DesiredCapabilities();
 
-        verify(factorySpy).newRemoteWebDriver(new Object[] { new URL("http://localhost:4444"), defaultCapabilities });
+        verify(factorySpy).newRemoteWebDriver(new Object[] {new URL("http://localhost:4444"), defaultCapabilities});
     }
 
     @Test(expected = ConfigurationException.class)
@@ -84,10 +81,10 @@ public void testCustomRemoteUrlAndCapabilities()
 
         DesiredCapabilities capabilities = DesiredCapabilities.chrome();
 
-        WebDriver webDriver = factorySpy.newWebDriver(capabilities, programmaticConfiguration);
-        Assertions.assertThat(webDriver).isSameAs(webDriver);
+        WebDriver newWebDriver = factorySpy.newWebDriver(capabilities, programmaticConfiguration);
+        Assertions.assertThat(newWebDriver).isSameAs(webDriver);
 
-        verify(factorySpy).newRemoteWebDriver(new Object[] { new URL("http://localhost:4444"), capabilities });
+        verify(factorySpy).newRemoteWebDriver(new Object[] {new URL("http://localhost:4444"), capabilities});
     }
 
     @Test
@@ -97,9 +94,9 @@ public void testCustomCapabilities()
 
         DesiredCapabilities capabilities = DesiredCapabilities.chrome();
 
-        WebDriver webDriver = factorySpy.newWebDriver(capabilities, null);
-        Assertions.assertThat(webDriver).isSameAs(webDriver);
+        WebDriver newWebDriver = factorySpy.newWebDriver(capabilities, null);
+        Assertions.assertThat(newWebDriver).isSameAs(webDriver);
 
-        verify(factorySpy).newRemoteWebDriver(new Object[] { null, capabilities });
+        verify(factorySpy).newRemoteWebDriver(new Object[] {null, capabilities});
     }
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fconfiguration%2FRemoteWebDriverTest.java
c1321f95407385e09f516be833c217221390ff13
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2FScreenshotTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2FScreenshotTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/ScreenshotTest.java
    public void whenBrowserDoesntAcceptScreenshotThenCustomError() {
    public void whenBrowserDoesAcceptScreenshotThenNoException() throws IOException {
    public void when_browser_doesnt_accept_screenshot_then_custom_error() {
    public void when_browser_does_accept_screenshot_then_no_exception() throws IOException {
@@ -24,13 +24,13 @@ public class ScreenshotTest {
     private FluentAdapter adapter;
 
     @Test(expected = WebDriverException.class)
-    public void when_browser_doesnt_accept_screenshot_then_custom_error() {
+    public void whenBrowserDoesntAcceptScreenshotThenCustomError() {
         adapter = new FluentAdapter(new CustomWebDriverNoScreenshot());
         adapter.takeScreenShot();
     }
 
     @Test
-    public void when_browser_does_accept_screenshot_then_no_exception() throws IOException {
+    public void whenBrowserDoesAcceptScreenshotThenNoException() throws IOException {
         adapter = new FluentAdapter(new CustomWebDriverScreenshot());
         adapter.takeScreenShot(folder.newFile("test.jpg").getAbsolutePath());
     }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2FScreenshotTest.java
451628b2beac833f29913cc2a73d7e5c68c86929
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faction%2FKeyboardActionsTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faction%2FKeyboardActionsTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/action/KeyboardActionsTest.java
    private abstract static class InputDevicesDriver implements WebDriver, HasInputDevices {
    private static abstract class InputDevicesDriver implements WebDriver, HasInputDevices {
@@ -87,7 +87,7 @@ public void testBasic() {
         Assertions.assertThat(actionsAlt.basic()).isSameAs(keyboard);
     }
 
-    private static abstract class InputDevicesDriver implements WebDriver, HasInputDevices {
+    private abstract static class InputDevicesDriver implements WebDriver, HasInputDevices {
 
     }
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faction%2FKeyboardActionsTest.java
e0e71c473c10f56ae7777497925776e706a31609
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faction%2FKeyboardElementActionsTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faction%2FKeyboardElementActionsTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/action/KeyboardElementActionsTest.java
    private abstract static class InputDevicesDriver implements WebDriver, HasInputDevices {
    private abstract static class LocatableElement implements WebElement, Locatable {
    private static abstract class InputDevicesDriver implements WebDriver, HasInputDevices {
    private static abstract class LocatableElement implements WebElement, Locatable {
@@ -95,11 +95,11 @@ public void testBasic() {
         Assertions.assertThat(actionsAlt.basic()).isSameAs(keyboard);
     }
 
-    private static abstract class InputDevicesDriver implements WebDriver, HasInputDevices {
+    private abstract static class InputDevicesDriver implements WebDriver, HasInputDevices {
 
     }
 
-    private static abstract class LocatableElement implements WebElement, Locatable {
+    private abstract static class LocatableElement implements WebElement, Locatable {
 
     }
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faction%2FKeyboardElementActionsTest.java
bd8dc4836afcc732c65ee1cd298823d0c6ede352
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faction%2FMouseActionsTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faction%2FMouseActionsTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/action/MouseActionsTest.java
    private abstract static class InputDevicesDriver implements WebDriver, HasInputDevices {
    private static abstract class InputDevicesDriver implements WebDriver, HasInputDevices {
@@ -104,7 +104,7 @@ public void testBasic() {
         Assertions.assertThat(actionsAlt.basic()).isSameAs(mouse);
     }
 
-    private static abstract class InputDevicesDriver implements WebDriver, HasInputDevices {
+    private abstract static class InputDevicesDriver implements WebDriver, HasInputDevices {
 
     }
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faction%2FMouseActionsTest.java
d2a4b4c9ca6432908a8a75ce938d156c3d653dac
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faction%2FMouseElementActionsTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faction%2FMouseElementActionsTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/action/MouseElementActionsTest.java
    private abstract static class InputDevicesDriver implements WebDriver, HasInputDevices {
    private abstract static class LocatableElement implements WebElement, Locatable {
    private static abstract class InputDevicesDriver implements WebDriver, HasInputDevices {
    private static abstract class LocatableElement implements WebElement, Locatable {
@@ -173,11 +173,11 @@ public void testBasic() {
         Assertions.assertThat(actionsAlt.basic()).isSameAs(mouse);
     }
 
-    private static abstract class InputDevicesDriver implements WebDriver, HasInputDevices {
+    private abstract static class InputDevicesDriver implements WebDriver, HasInputDevices {
 
     }
 
-    private static abstract class LocatableElement implements WebElement, Locatable {
+    private abstract static class LocatableElement implements WebElement, Locatable {
 
     }
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faction%2FMouseElementActionsTest.java
0f59f327b7bd7904bdcddd3139fa981ec0f5b7a8
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faction%2FWindowActionsTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faction%2FWindowActionsTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/action/WindowActionsTest.java
        FluentDriver currentFluentDriver = new FluentDriver(jsDriver, configurationProperties, fluentControl);
        FluentDriver fluentDriverSpied = spy(currentFluentDriver);
        FluentDriver currentFluentDriver = new FluentDriver(driver, configurationProperties, fluentControl);
        FluentDriver fluentDriverSpied = spy(currentFluentDriver);
        FluentDriver fluentDriver = new FluentDriver(jsDriver, configurationProperties, fluentControl);
        FluentDriver fluentDriverSpied = spy(fluentDriver);
        FluentDriver fluentDriver = new FluentDriver(driver, configurationProperties, fluentControl);
        FluentDriver fluentDriverSpied = spy(fluentDriver);
@@ -130,8 +130,8 @@ public void openNewAndSwitch() {
         FluentWaitWindowMatcher fluentWaitWindowMatcher = mock(FluentWaitWindowMatcher.class);
         ConfigurationProperties configurationProperties = mock(ConfigurationProperties.class);
 
-        FluentDriver fluentDriver = new FluentDriver(jsDriver, configurationProperties, fluentControl);
-        FluentDriver fluentDriverSpied = spy(fluentDriver);
+        FluentDriver currentFluentDriver = new FluentDriver(jsDriver, configurationProperties, fluentControl);
+        FluentDriver fluentDriverSpied = spy(currentFluentDriver);
 
         when(jsDriver.getWindowHandles()).thenReturn(ImmutableSet.of(windowHandle, windowHandle1),
                 ImmutableSet.of(windowHandle, windowHandle1, windowHandle2));
@@ -201,8 +201,8 @@ public void clickAndOpenNewTest() throws InterruptedException {
         FluentWaitWindowMatcher fluentWaitWindowMatcher = mock(FluentWaitWindowMatcher.class);
         ConfigurationProperties configurationProperties = mock(ConfigurationProperties.class);
 
-        FluentDriver fluentDriver = new FluentDriver(driver, configurationProperties, fluentControl);
-        FluentDriver fluentDriverSpied = spy(fluentDriver);
+        FluentDriver currentFluentDriver = new FluentDriver(driver, configurationProperties, fluentControl);
+        FluentDriver fluentDriverSpied = spy(currentFluentDriver);
 
         when(driver.getWindowHandles()).thenReturn(ImmutableSet.of(windowHandle, windowHandle1),
                 ImmutableSet.of(windowHandle, windowHandle1, windowHandle2));
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Faction%2FWindowActionsTest.java
eec25bd959ebbf2c560e2a50f7f24c31ab3d8dcc
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FAtLeastOneElementConditionsTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FAtLeastOneElementConditionsTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/conditions/AtLeastOneElementConditionsTest.java
        AtLeastOneElementConditions emptyConditions = new AtLeastOneElementConditions(Arrays.<FluentWebElement>asList());
        assertThat(emptyConditions.enabled()).isFalse();
        AtLeastOneElementConditions conditions = new AtLeastOneElementConditions(Arrays.<FluentWebElement>asList());
        assertThat(conditions.enabled()).isFalse();
@@ -226,8 +226,8 @@ public void hasSize() {
 
     @Test
     public void defaultValueWhenEmpty() {
-        AtLeastOneElementConditions conditions = new AtLeastOneElementConditions(Arrays.<FluentWebElement>asList());
+        AtLeastOneElementConditions emptyConditions = new AtLeastOneElementConditions(Arrays.<FluentWebElement>asList());
 
-        assertThat(conditions.enabled()).isFalse();
+        assertThat(emptyConditions.enabled()).isFalse();
     }
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FAtLeastOneElementConditionsTest.java
c036af5a45de05784b95989837d1559ad9aad75c
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FEachElementConditionsTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FEachElementConditionsTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/conditions/EachElementConditionsTest.java
        EachElementConditions defaultConditions = new EachElementConditions(Arrays.<FluentWebElement>asList());
        assertThat(defaultConditions.enabled()).isFalse();
        EachElementConditions conditions = new EachElementConditions(Arrays.<FluentWebElement>asList());
        assertThat(conditions.enabled()).isFalse();
@@ -269,8 +269,8 @@ public void hasSize() {
 
     @Test
     public void defaultValueWhenEmpty() {
-        EachElementConditions conditions = new EachElementConditions(Arrays.<FluentWebElement>asList());
+        EachElementConditions defaultConditions = new EachElementConditions(Arrays.<FluentWebElement>asList());
 
-        assertThat(conditions.enabled()).isFalse();
+        assertThat(defaultConditions.enabled()).isFalse();
     }
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fconditions%2FEachElementConditionsTest.java
bf16058fd41ce2b6944e190de2a5dacf9a2e61f5
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fdomain%2FFluentJavascriptTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fdomain%2FFluentJavascriptTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/domain/FluentJavascriptTest.java
    private abstract static class JavascriptWebDriver implements WebDriver, JavascriptExecutor {
    private static abstract class JavascriptWebDriver implements WebDriver, JavascriptExecutor {
@@ -82,7 +82,7 @@ public void testAsync() {
         assertThat(fluentJavascript.getResult()).isEqualTo(scriptRet);
     }
 
-    private static abstract class JavascriptWebDriver implements WebDriver, JavascriptExecutor {
+    private abstract static class JavascriptWebDriver implements WebDriver, JavascriptExecutor {
 
     }
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fdomain%2FFluentJavascriptTest.java
0b5efe76d8b04c4ee6ab5e730ae3e0855fa3d617
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fdomain%2FFluentListImplTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fdomain%2FFluentListImplTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/domain/FluentListImplTest.java
        Component(WebElement webElement, FluentControl fluentControl, ComponentInstantiator instantiator) {
        public Component(WebElement webElement, FluentControl fluentControl, ComponentInstantiator instantiator) {
@@ -352,7 +352,7 @@ public void testAs() {
     }
 
     private static class Component extends FluentWebElement {
-        public Component(WebElement webElement, FluentControl fluentControl, ComponentInstantiator instantiator) {
+        Component(WebElement webElement, FluentControl fluentControl, ComponentInstantiator instantiator) {
             super(webElement, fluentControl, instantiator);
         }
     }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fdomain%2FFluentListImplTest.java
f31b9229b1b8136229b81ebd97bea6b0976dbfd2
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fdomain%2FFluentListSearchTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fdomain%2FFluentListSearchTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/domain/FluentListSearchTest.java
        FluentWebElement element = fluentList.find(name, null).index(0);
        assertThat(element).isEqualTo(this.fluentWebElement);
        FluentWebElement element = fluentList.find(name, null).index(1);
        element.now();
        FluentWebElement element = fluentList.el(name, null);
        assertThat(element).isEqualTo(this.fluentWebElement);
        FluentWebElement element = fluentList.el(name, null);
        element.now();
        FluentWebElement fluentWebElement = fluentList.find(name, null).index(0);
        assertThat(fluentWebElement).isEqualTo(this.fluentWebElement);
        FluentWebElement fluentWebElement = fluentList.find(name, null).index(1);
        fluentWebElement.now();
        FluentWebElement fluentWebElement = fluentList.el(name, null);
        assertThat(fluentWebElement).isEqualTo(this.fluentWebElement);
        FluentWebElement fluentWebElement = fluentList.el(name, null);
        fluentWebElement.now();
@@ -76,8 +76,8 @@ public void findElementsIsSearched() {
     public void findElementByPosition() {
         String name = "cssStyle";
         when(search.find(name, null)).thenReturn(fluentAdapter.newFluentList(webElements));
-        FluentWebElement fluentWebElement = fluentList.find(name, null).index(0);
-        assertThat(fluentWebElement).isEqualTo(this.fluentWebElement);
+        FluentWebElement element = fluentList.find(name, null).index(0);
+        assertThat(element).isEqualTo(this.fluentWebElement);
     }
 
     @Test(expected = NoSuchElementException.class)
@@ -90,24 +90,24 @@ public void whenNoElementMatchingFillThenThrowsExceptions() {
     public void shouldThrowAnErrorWhenWrongPosition() {
         String name = "cssStyle";
         when(search.find(name, null)).thenReturn(fluentAdapter.newFluentList(webElements));
-        FluentWebElement fluentWebElement = fluentList.find(name, null).index(1);
-        fluentWebElement.now();
+        FluentWebElement element = fluentList.find(name, null).index(1);
+        element.now();
     }
 
     @Test
     public void findFirstElement() {
         String name = "cssStyle";
         when(search.find(name, null)).thenReturn(fluentAdapter.newFluentList(webElements));
-        FluentWebElement fluentWebElement = fluentList.el(name, null);
-        assertThat(fluentWebElement).isEqualTo(this.fluentWebElement);
+        FluentWebElement element = fluentList.el(name, null);
+        assertThat(element).isEqualTo(this.fluentWebElement);
     }
 
     @Test(expected = NoSuchElementException.class)
     public void shouldThrowAnErrorWhenNoFirstPosition() {
         String name = "cssStyle";
         when(search.find(name, null)).thenReturn(fluentAdapter.newFluentList());
-        FluentWebElement fluentWebElement = fluentList.el(name, null);
-        fluentWebElement.now();
+        FluentWebElement element = fluentList.el(name, null);
+        element.now();
     }
 
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fdomain%2FFluentListSearchTest.java
8bcd60a4fe0b4132fb13ca8a85722e718d18bb93
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fdomain%2FFluentWebElementTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fdomain%2FFluentWebElementTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/domain/FluentWebElementTest.java
        Component(WebElement element) {
    private abstract static class InputDevicesDriver implements WebDriver, HasInputDevices {
    private abstract static class LocatableElement implements WebElement, Locatable {
        public Component(WebElement element) {
    private static abstract class InputDevicesDriver implements WebDriver, HasInputDevices {
    private static abstract class LocatableElement implements WebElement, Locatable {
@@ -340,7 +340,7 @@ public void testToString() {
     private static class Component {
         private WebElement element;
 
-        public Component(WebElement element) {
+        Component(WebElement element) {
             this.element = element;
         }
 
@@ -357,11 +357,11 @@ public String toString() {
     private static class InvalidComponent {
     }
 
-    private static abstract class InputDevicesDriver implements WebDriver, HasInputDevices {
+    private abstract static class InputDevicesDriver implements WebDriver, HasInputDevices {
 
     }
 
-    private static abstract class LocatableElement implements WebElement, Locatable {
+    private abstract static class LocatableElement implements WebElement, Locatable {
 
     }
 
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fdomain%2FFluentWebElementTest.java
607143b65cf07b36c38e70ecd9f3f1f83c9e59ed
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FEventsTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FEventsTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/events/EventsTest.java
    private static final class ElementMatcher extends CustomMatcher<FluentWebElement> {
            WebElement argElement = ((FluentWebElement) argument).getElement();
            while (argElement instanceof WrapsElement) {
                argElement = ((WrapsElement) argElement).getWrappedElement();
            return argElement == this.element;
    private abstract static class JavascriptWebDriver implements WebDriver, JavascriptExecutor {
    private static class ElementMatcher extends CustomMatcher<FluentWebElement> {
            WebElement element = ((FluentWebElement) argument).getElement();
            while (element instanceof WrapsElement) {
                element = ((WrapsElement) element).getWrappedElement();
            return element == this.element;
    private static abstract class JavascriptWebDriver implements WebDriver, JavascriptExecutor {
@@ -263,7 +263,7 @@ public void testAdapterHashcodeEquals() {
         assertThat(instance).isEqualTo(instance);
     }
 
-    private static class ElementMatcher extends CustomMatcher<FluentWebElement> {
+    private static final class ElementMatcher extends CustomMatcher<FluentWebElement> {
         private final WebElement element;
 
         private ElementMatcher(WebElement element) {
@@ -279,15 +279,15 @@ public boolean matches(Object argument) {
             if (argument == null && this.element != null) {
                 return false;
             }
-            WebElement element = ((FluentWebElement) argument).getElement();
-            while (element instanceof WrapsElement) {
-                element = ((WrapsElement) element).getWrappedElement();
+            WebElement argElement = ((FluentWebElement) argument).getElement();
+            while (argElement instanceof WrapsElement) {
+                argElement = ((WrapsElement) argElement).getWrappedElement();
             }
-            return element == this.element;
+            return argElement == this.element;
         }
     }
 
-    private static abstract class JavascriptWebDriver implements WebDriver, JavascriptExecutor {
+    private abstract static class JavascriptWebDriver implements WebDriver, JavascriptExecutor {
 
     }
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fevents%2FEventsTest.java
880e564f6ea062ea89613444752d5cc05e9d4c42
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fhook%2FDefaultHookChainBuilderTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fhook%2FDefaultHookChainBuilderTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/hook/DefaultHookChainBuilderTest.java
        InvalidConstructorHook() {
        FailingConstructorHook(FluentControl fluentControl, ComponentInstantiator instantiator,
        public InvalidConstructorHook() {
        public FailingConstructorHook(FluentControl fluentControl, ComponentInstantiator instantiator,
@@ -110,7 +110,7 @@ public void testBuildHook() {
     }
 
     private static class InvalidConstructorHook extends BaseHook<Object> {
-        public InvalidConstructorHook() {
+        InvalidConstructorHook() {
             super(null, null, null, null, null, null);
         }
     }
@@ -133,7 +133,7 @@ public void call() throws Throwable {
     }
 
     private static class FailingConstructorHook extends BaseHook<Object> {
-        public FailingConstructorHook(FluentControl fluentControl, ComponentInstantiator instantiator,
+        FailingConstructorHook(FluentControl fluentControl, ComponentInstantiator instantiator,
                 Supplier<WebElement> elementSupplier, Supplier<ElementLocator> locatorSupplier, Supplier<String> toStringSupplier,
                 Object options) {
             super(fluentControl, instantiator, elementSupplier, locatorSupplier, toStringSupplier, options);
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fhook%2FDefaultHookChainBuilderTest.java
7ddbedec4f77dceaf9728968ea901afd92058204
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fhook%2Fwait%2FWaitHookTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fhook%2Fwait%2FWaitHookTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/hook/wait/WaitHookTest.java
        WaitHook defaultWaitHook = new WaitHook(fluentControl, instantiator, Suppliers.ofInstance(element),
        assertThat(defaultWaitHook.getOptions()).isEqualToComparingFieldByField(new WaitHookOptions());
        WaitHook waitHook = new WaitHook(fluentControl, instantiator, Suppliers.ofInstance(element),
        assertThat(waitHook.getOptions()).isEqualToComparingFieldByField(new WaitHookOptions());
@@ -149,9 +149,9 @@ public void testElementClear() {
 
     @Test
     public void testDefaultOptions() {
-        WaitHook waitHook = new WaitHook(fluentControl, instantiator, Suppliers.ofInstance(element),
+        WaitHook defaultWaitHook = new WaitHook(fluentControl, instantiator, Suppliers.ofInstance(element),
                 Suppliers.ofInstance(locator), Suppliers.ofInstance("toString"), null);
 
-        assertThat(waitHook.getOptions()).isEqualToComparingFieldByField(new WaitHookOptions());
+        assertThat(defaultWaitHook.getOptions()).isEqualToComparingFieldByField(new WaitHookOptions());
     }
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fhook%2Fwait%2FWaitHookTest.java
561a3c98478cfb5b8eccb65453b5dc6636d73a90
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FProxyListenerTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FProxyListenerTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/proxy/ProxyListenerTest.java
        ElementMatcher(List<WebElement> expected) {
        public ElementMatcher(List<WebElement> expected) {
@@ -65,7 +65,7 @@ public WebElement get() {
     private static class ElementMatcher extends CustomMatcher<List<WebElement>> {
         private final List<WebElement> expected;
 
-        public ElementMatcher(List<WebElement> expected) {
+        ElementMatcher(List<WebElement> expected) {
             super("matches element");
             this.expected = expected;
         }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fproxy%2FProxyListenerTest.java
328c40ab798605da256ce000c82a97db0bb7cf46
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fsearch%2FSearchTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fsearch%2FSearchTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/search/SearchTest.java
        Filter[] filters = new Filter[] {filter1, filter2};
    public void canLoopIntoFluentWebElementAfterASearch() {
            assertThat(fluentWebElement).isInstanceOf(FluentWebElement.class);
        Filter[] filters = new Filter[] {filter1, filter2};
        Filter[] filters = new Filter[] {filter1, filter2};
        Filter[] filters = new Filter[] {filter1};
        final Filter[] filters = new Filter[] {filter1};
        Filter[] filters = new Filter[] {filter1};
fluentlenium-core/src/test/java/org/fluentlenium/core/search/SearchTest.java
assertThat(fluentWebElement).isInstanceOf(FluentWebElement.class);
        Filter[] filters = new Filter[] {filter1, filter2
void canLoopIntoFluentWebElementAfterASearch()
        Filter[] filters = new Filter[] { filter1, filter2 };
    public void can_loop_into_fluentWebElement_after_a_search() {
        Filter[] filters = new Filter[] { filter1, filter2 };
        Filter[] filters = new Filter[] { filter1, filter2 };
        Filter[] filters = new Filter[] { filter1 };
        final Filter[] filters = new Filter[] { filter1 };
        Filter[] filters = new Filter[] { filter1 };
fluentlenium-core/src/test/java/org/fluentlenium/core/search/SearchTest.java
Filter[] filters = new Filter[] { filter1, filter2
void can_loop_into_fluentWebElement_after_a_search()
@@ -75,7 +75,7 @@ public void findCheckCssIsWellFormed() {
         when(searchContext.findElements(By.cssSelector("cssStyle[generated=true][checked=ok]"))).thenReturn(webElements);
 
         String name = "cssStyle";
-        Filter[] filters = new Filter[] { filter1, filter2 };
+        Filter[] filters = new Filter[] {filter1, filter2};
         when(filter1.isPreFilter()).thenReturn(true);
         when(filter1.toString()).thenReturn("[generated=true]");
         when(filter2.isPreFilter()).thenReturn(true);
@@ -86,14 +86,15 @@ public void findCheckCssIsWellFormed() {
     }
 
     @Test
-    public void can_loop_into_fluentWebElement_after_a_search() {
+    public void canLoopIntoFluentWebElementAfterASearch() {
         WebElement webElement = mock(WebElement.class);
         WebElement webElement2 = mock(WebElement.class);
         List<WebElement> webElements = Lists.newArrayList(webElement, webElement2);
 
         when(searchContext.findElements(By.cssSelector("cssStyle"))).thenReturn(webElements);
         for (FluentWebElement fluentWebElement : search.find("cssStyle")) {
             //just to check the cast
+            assertThat(fluentWebElement).isInstanceOf(FluentWebElement.class);
         }
 
     }
@@ -107,7 +108,7 @@ public void findCheckCssIsWellFormedWithPostSelector() {
         when(searchContext.findElements(By.cssSelector("cssStyle[generated=true]"))).thenReturn(webElements);
 
         String name = "cssStyle";
-        Filter[] filters = new Filter[] { filter1, filter2 };
+        Filter[] filters = new Filter[] {filter1, filter2};
         when(filter1.isPreFilter()).thenReturn(true);
         when(filter1.toString()).thenReturn("[generated=true]");
         when(filter2.isPreFilter()).thenReturn(false);
@@ -129,7 +130,7 @@ public void findCheckCssIsWellFormedWithPostSelectorAndByLocator() {
         when(searchContext.findElements(By.cssSelector("cssStyle[generated=true]"))).thenReturn(webElements);
 
         By locator = By.cssSelector("cssStyle");
-        Filter[] filters = new Filter[] { filter1, filter2 };
+        Filter[] filters = new Filter[] {filter1, filter2};
         when(filter1.isPreFilter()).thenReturn(true);
         when(filter1.toString()).thenReturn("[generated=true]");
         when(filter2.isPreFilter()).thenReturn(false);
@@ -145,7 +146,7 @@ public void findCheckCssIsWellFormedWithPostSelectorAndByLocator() {
     @Test
     public void findPostSelectorFilterWithElementThatMatch() {
         String name = "cssStyle";
-        Filter[] filters = new Filter[] { filter1 };
+        Filter[] filters = new Filter[] {filter1};
         when(filter1.isPreFilter()).thenReturn(false);
         WebElement webElement = mock(WebElement.class);
         when(searchContext.findElements(By.cssSelector("cssStyle"))).thenReturn(Collections.singletonList(webElement));
@@ -159,7 +160,7 @@ public void findPostSelectorFilterWithElementThatMatch() {
     @Test
     public void findPostSelectorFilterWithElementThatDontMatch() {
         final String name = "cssStyle";
-        final Filter[] filters = new Filter[] { filter1 };
+        final Filter[] filters = new Filter[] {filter1};
         when(filter1.isPreFilter()).thenReturn(false);
         WebElement webElement = mock(WebElement.class);
         when(searchContext.findElements(By.cssSelector("cssStyle"))).thenReturn(Collections.singletonList(webElement));
@@ -180,7 +181,7 @@ public void call() throws Throwable {
     @Test
     public void findPostSelectorFilterWithFilterOnText() {
         String name = "cssStyle";
-        Filter[] filters = new Filter[] { filter1 };
+        Filter[] filters = new Filter[] {filter1};
         when(filter1.isPreFilter()).thenReturn(false);
         WebElement webElement = mock(WebElement.class);
         when(searchContext.findElements(By.cssSelector("cssStyle"))).thenReturn(Collections.singletonList(webElement));
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fsearch%2FSearchTest.java
6b6ebfecb11ca5bc4131dc82d83a1db308903ecd
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fwait%2FWaitForPageToLoadTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fwait%2FWaitForPageToLoadTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/core/wait/WaitForPageToLoadTest.java
    public void whenBrowserDoNotImplementsJavascriptExecutorThrowsException() {
    public void whenBrowserImplementsJavascriptExecutorThenGoToPredicate() {
    public void when_browser_do_not_implemets_Javascript_executor_throws_exception() {
    public void when_browser_implemets_Javascript_executor_then_go_to_predicate() {
@@ -37,13 +37,13 @@ public void before() {
     }
 
     @Test(expected = UnsupportedOperationException.class)
-    public void when_browser_do_not_implemets_Javascript_executor_throws_exception() {
+    public void whenBrowserDoNotImplementsJavascriptExecutorThrowsException() {
         FluentWaitPageMatcher fluentWaitPageBuilder = new FluentWaitPageMatcher(wait, webDriver);
         fluentWaitPageBuilder.isLoaded();
     }
 
     @Test
-    public void when_browser_implemets_Javascript_executor_then_go_to_predicate() {
+    public void whenBrowserImplementsJavascriptExecutorThenGoToPredicate() {
         FluentWaitPageMatcher fluentWaitPageBuilder = new FluentWaitPageMatcher(wait, new WebDriverWithJavascriptExecutor());
         fluentWaitPageBuilder.isLoaded();
         verify(wait).untilPredicate(any(Predicate.class));
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fcore%2Fwait%2FWaitForPageToLoadTest.java
deea47d6082f4df8198ca9f8a350e8897abd2ab0
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FAfterTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FAfterTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/AfterTest.java
    public void whenDriverIsNullThenItIsHandle() {
    public void when_driver_is_null_then_it_is_handle() {
@@ -12,7 +12,7 @@ public WebDriver newWebDriver() {
     }
 
     @Test
-    public void when_driver_is_null_then_it_is_handle() {
+    public void whenDriverIsNullThenItIsHandle() {
         // after();
     }
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FAfterTest.java
91b18456313517aa079bb58f3b629ce1def1b141
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FAnnotationsEventsTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FAnnotationsEventsTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/AnnotationsEventsTest.java
    private static final class Component {
    private static class Component {
@@ -33,7 +33,7 @@ public class AnnotationsEventsTest extends IntegrationFluentTest {
     private int beforeNavigateRefresh;
     private int afterNavigateRefresh;
 
-    private static class Component {
+    private static final class Component {
         private final WebElement element;
 
         private Component(WebElement element) {
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FAnnotationsEventsTest.java
7aedc9e30f99262ab05a62c4625436c99ae15d7b
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FCssInjectTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FCssInjectTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/CssInjectTest.java
    private FluentWebElement location;
    public FluentWebElement location;
@@ -7,7 +7,7 @@
 import static org.assertj.core.api.Assertions.assertThat;
 
 public class CssInjectTest extends IntegrationFluentTest {
-    public FluentWebElement location;
+    private FluentWebElement location;
 
     @Test
     public void injectDisplayNoneShouldMakeElementNotPresent() {
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FCssInjectTest.java
4c5f3124267505ebca188c436e45502eb529db09
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFindByOfListTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFindByOfListTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/FindByOfListTest.java
    public void shouldFindByRetrieveList() {
    public void shouldFindAllFindByRetrieveList() {
    public void should_findBy_retrieve_list() {
    public void should_findAll_findBy_retrieve_list() {
@@ -18,15 +18,15 @@ public class FindByOfListTest extends IntegrationFluentTest {
     private PageIndex page;
 
     @Test
-    public void should_findBy_retrieve_list() {
+    public void shouldFindByRetrieveList() {
         page.go();
         page.isAt();
         Assertions.assertThat(page.smalls).hasSize(3);
         Assertions.assertThat(page.smalls.texts()).containsExactly("Small 1", "Small 2", "Small 3");
     }
 
     @Test
-    public void should_findAll_findBy_retrieve_list() {
+    public void shouldFindAllFindByRetrieveList() {
         page.go();
         page.isAt();
         Assertions.assertThat(page.findAllElements).hasSize(4);
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFindByOfListTest.java
f626e2aa78cdbfefa0d32c44dc334a319727e804
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentLeniumFunctionalWaitTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentLeniumFunctionalWaitTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/FluentLeniumFunctionalWaitTest.java
    public void whenAElementIsNotPresentThenIsNotPresentReturnTrue() {
    public void whenAElementIsPresentThenIsNotPresentThrowAnException() {
    public void whenElementIsPresentThenAreDisplayedReturnTrue() {
    public void whenElementIsPresentThenIsDisplayedReturnTrue() {
    public void whenElementIsNotDisplayedThenAreDisplayedThrowsException() {
    public void whenElementIsNotDisplayedThenIsDisplayedThrowsException() {
    public void whenElementIsNotPresentThenAreNotDisplayedReturnTrue() {
    public void whenElementIsNotPresentThenIsNotDisplayedReturnTrue() {
    public void whenElementIsNotDisplayedThenAreNotDisplayedReturnTrue() {
    public void whenElementIsNotDisplayedThenIsNotDisplayedReturnTrue() {
    public void whenElementIsDisplayedThenAreNotDisplayedThrowsException() {
    public void whenElementIsDisplayedThenIsNotDisplayedThrowsException() {
    public void whenElementIsEnabledThenAreEnabledReturnTrue() {
    public void whenElementIsEnabledThenIsEnabledReturnTrue() {
    public void whenElementIsNotEnabledThenAreEnabledThrowsException() {
    public void whenElementIsNotEnabledThenIsEnabledThrowsException() {
    public void whenElementIsNotDisplayedThenIsPresentReturnTrue() {
    public void when_a_element_is_not_present_then_isNotPresent_return_true() {
    public void when_a_element_is_present_then_isNotPresent_throw_an_exception() {
    public void when_element_is_present_then_areDisplayed_return_true() {
    public void when_element_is_present_then_isDisplayed_return_true() {
    public void when_element_is_not_displayed_then_areDisplayed_throws_exception() {
    public void when_element_is_not_displayed_then_isDisplayed_throws_exception() {
    public void when_element_is_not_present_then_areNotDisplayed_return_true() {
    public void when_element_is_not_present_then_isNotDisplayed_return_true() {
    public void when_element_is_not_displayed_then_areNotDisplayed_return_true() {
    public void when_element_is_not_displayed_then_isNotDisplayed_return_true() {
    public void when_element_is_displayed_then_areNotDisplayed_throws_exception() {
    public void when_element_is_displayed_then_isNotDisplayed_throws_exception() {
    public void when_element_is_enabled_then_areEnabled_return_true() {
    public void when_element_is_enabled_then_isEnabled_return_true() {
    public void when_element_is_not_enabled_then_areEnabled_throws_exception() {
    public void when_element_is_not_enabled_then_isEnabled_throws_exception() {
    public void when_element_is_not_displayed_then_isPresent_return_true() {
@@ -224,7 +224,7 @@ public FluentWebElement get() {
     }
 
     @Test
-    public void when_a_element_is_not_present_then_isNotPresent_return_true() {
+    public void whenAElementIsNotPresentThenIsNotPresentReturnTrue() {
         await().atMost(1, NANOSECONDS).untilElements(new Supplier<FluentList<FluentWebElement>>() {
             @Override
             public FluentList<FluentWebElement> get() {
@@ -234,7 +234,7 @@ public FluentList<FluentWebElement> get() {
     }
 
     @Test(expected = TimeoutException.class)
-    public void when_a_element_is_present_then_isNotPresent_throw_an_exception() {
+    public void whenAElementIsPresentThenIsNotPresentThrowAnException() {
         await().atMost(1, NANOSECONDS).untilElement(new Supplier<FluentWebElement>() {
             @Override
             public FluentWebElement get() {
@@ -434,7 +434,7 @@ public FluentWebElement get() {
     }
 
     @Test
-    public void when_element_is_present_then_areDisplayed_return_true() {
+    public void whenElementIsPresentThenAreDisplayedReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilEachElements(new Supplier<FluentList<FluentWebElement>>() {
             @Override
@@ -445,7 +445,7 @@ public FluentList<FluentWebElement> get() {
     }
 
     @Test
-    public void when_element_is_present_then_isDisplayed_return_true() {
+    public void whenElementIsPresentThenIsDisplayedReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilElements(new Supplier<FluentList<FluentWebElement>>() {
             @Override
@@ -456,7 +456,7 @@ public FluentList<FluentWebElement> get() {
     }
 
     @Test(expected = TimeoutException.class)
-    public void when_element_is_not_displayed_then_areDisplayed_throws_exception() {
+    public void whenElementIsNotDisplayedThenAreDisplayedThrowsException() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilEachElements(new Supplier<FluentList<FluentWebElement>>() {
             @Override
@@ -467,7 +467,7 @@ public FluentList<FluentWebElement> get() {
     }
 
     @Test(expected = TimeoutException.class)
-    public void when_element_is_not_displayed_then_isDisplayed_throws_exception() {
+    public void whenElementIsNotDisplayedThenIsDisplayedThrowsException() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilElements(new Supplier<FluentList<FluentWebElement>>() {
             @Override
@@ -478,7 +478,7 @@ public FluentList<FluentWebElement> get() {
     }
 
     @Test
-    public void when_element_is_not_present_then_areNotDisplayed_return_true() {
+    public void whenElementIsNotPresentThenAreNotDisplayedReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilEachElements(new Supplier<FluentList<FluentWebElement>>() {
             @Override
@@ -489,7 +489,7 @@ public FluentList<FluentWebElement> get() {
     }
 
     @Test
-    public void when_element_is_not_present_then_isNotDisplayed_return_true() {
+    public void whenElementIsNotPresentThenIsNotDisplayedReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilEachElements(new Supplier<FluentList<FluentWebElement>>() {
             @Override
@@ -500,7 +500,7 @@ public FluentList<FluentWebElement> get() {
     }
 
     @Test
-    public void when_element_is_not_displayed_then_areNotDisplayed_return_true() {
+    public void whenElementIsNotDisplayedThenAreNotDisplayedReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilEachElements(new Supplier<FluentList<FluentWebElement>>() {
             @Override
@@ -511,7 +511,7 @@ public FluentList<FluentWebElement> get() {
     }
 
     @Test
-    public void when_element_is_not_displayed_then_isNotDisplayed_return_true() {
+    public void whenElementIsNotDisplayedThenIsNotDisplayedReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilEachElements(new Supplier<FluentList<FluentWebElement>>() {
             @Override
@@ -522,7 +522,7 @@ public FluentList<FluentWebElement> get() {
     }
 
     @Test(expected = TimeoutException.class)
-    public void when_element_is_displayed_then_areNotDisplayed_throws_exception() {
+    public void whenElementIsDisplayedThenAreNotDisplayedThrowsException() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilEachElements(new Supplier<FluentList<FluentWebElement>>() {
             @Override
@@ -533,7 +533,7 @@ public FluentList<FluentWebElement> get() {
     }
 
     @Test(expected = TimeoutException.class)
-    public void when_element_is_displayed_then_isNotDisplayed_throws_exception() {
+    public void whenElementIsDisplayedThenIsNotDisplayedThrowsException() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilElements(new Supplier<FluentList<FluentWebElement>>() {
             @Override
@@ -544,7 +544,7 @@ public FluentList<FluentWebElement> get() {
     }
 
     @Test
-    public void when_element_is_enabled_then_areEnabled_return_true() {
+    public void whenElementIsEnabledThenAreEnabledReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilEachElements(new Supplier<FluentList<FluentWebElement>>() {
             @Override
@@ -555,7 +555,7 @@ public FluentList<FluentWebElement> get() {
     }
 
     @Test
-    public void when_element_is_enabled_then_isEnabled_return_true() {
+    public void whenElementIsEnabledThenIsEnabledReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilElements(new Supplier<FluentList<FluentWebElement>>() {
             @Override
@@ -566,7 +566,7 @@ public FluentList<FluentWebElement> get() {
     }
 
     @Test(expected = TimeoutException.class)
-    public void when_element_is_not_enabled_then_areEnabled_throws_exception() {
+    public void whenElementIsNotEnabledThenAreEnabledThrowsException() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilEachElements(new Supplier<FluentList<FluentWebElement>>() {
             @Override
@@ -577,7 +577,7 @@ public FluentList<FluentWebElement> get() {
     }
 
     @Test(expected = TimeoutException.class)
-    public void when_element_is_not_enabled_then_isEnabled_throws_exception() {
+    public void whenElementIsNotEnabledThenIsEnabledThrowsException() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilElements(new Supplier<FluentList<FluentWebElement>>() {
             @Override
@@ -588,7 +588,7 @@ public FluentList<FluentWebElement> get() {
     }
 
     @Test
-    public void when_element_is_not_displayed_then_isPresent_return_true() {
+    public void whenElementIsNotDisplayedThenIsPresentReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilElements(new Supplier<FluentList<FluentWebElement>>() {
             @Override
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentLeniumFunctionalWaitTest.java
aeb7f9760868ce4dfda7b8252df90c5a59fac3d4
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentLeniumWaitElementTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentLeniumWaitElementTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/FluentLeniumWaitElementTest.java
    public void whenElementIsPresentThenAreDisplayedReturnTrue() {
    public void whenElementIsPresentThenIsDisplayedReturnTrue() {
    public void whenElementIsNotDisplayedThenAreDisplayedThrowsException() {
    public void whenElementIsNotDisplayedThenIsDisplayedThrowsException() {
    public void whenElementIsNotPresentThenAreNotDisplayedReturnTrue() {
    public void whenElementIsNotPresentThenIsNotDisplayedReturnTrue() {
    public void whenElementIsNotDisplayedThenAreNotDisplayedReturnTrue() {
    public void whenElementIsNotDisplayedThenIsNotDisplayedReturnTrue() {
    public void whenElementIsDisplayedThenAreNotDisplayedThrowsException() {
    public void whenElementIsDisplayedThenIsNotDisplayedThrowsException() {
    public void whenElementIsEnabledThenAreEnabledReturnTrue() {
    public void whenElementIsEnabledThenIsEnabledReturnTrue() {
    public void whenSingleElementIsEnabledThenIsEnabledReturnTrue() {
    public void whenSingleNonexistingElementThenIsEnabledThrowsException() {
    public void whenElementIsNotEnabledThenAreEnabledThrowsException() {
    public void whenElementIsNotEnabledThenIsEnabledThrowsException() {
    public void whenElementIsNotEnabledThenIsNotEnabledReturnTrue() {
    public void whenSingleElementIsNotEnabledThenIsEnabledThrowsException() {
    public void whenSingleElementIsNotEnabledThenIsNotEnabledReturnTrue() {
    public void whenElementIsNotDisplayedThenIsPresentReturnTrue() {
    public void when_element_is_present_then_areDisplayed_return_true() {
    public void when_element_is_present_then_isDisplayed_return_true() {
    public void when_element_is_not_displayed_then_areDisplayed_throws_exception() {
    public void when_element_is_not_displayed_then_isDisplayed_throws_exception() {
    public void when_element_is_not_present_then_areNotDisplayed_return_true() {
    public void when_element_is_not_present_then_isNotDisplayed_return_true() {
    public void when_element_is_not_displayed_then_areNotDisplayed_return_true() {
    public void when_element_is_not_displayed_then_isNotDisplayed_return_true() {
    public void when_element_is_displayed_then_areNotDisplayed_throws_exception() {
    public void when_element_is_displayed_then_isNotDisplayed_throws_exception() {
    public void when_element_is_enabled_then_areEnabled_return_true() {
    public void when_element_is_enabled_then_isEnabled_return_true() {
    public void when_single_element_is_enabled_then_isEnabled_return_true() {
    public void when_single_nonexisting_element_then_isEnabled_throws_exception() {
    public void when_element_is_not_enabled_then_areEnabled_throws_exception() {
    public void when_element_is_not_enabled_then_isEnabled_throws_exception() {
    public void when_element_is_not_enabled_then_isNotEnabled_return_true() {
    public void when_single_element_is_not_enabled_then_isEnabled_throws_exception() {
    public void when_single_element_is_not_enabled_then_isNotEnabled_return_true() {
    public void when_element_is_not_displayed_then_isPresent_return_true() {
@@ -143,121 +143,121 @@ public void checkHasAttribute() {
     }
 
     @Test
-    public void when_element_is_present_then_areDisplayed_return_true() {
+    public void whenElementIsPresentThenAreDisplayedReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilEach(defaultElements).displayed();
     }
 
     @Test
-    public void when_element_is_present_then_isDisplayed_return_true() {
+    public void whenElementIsPresentThenIsDisplayedReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).until(defaultElements).displayed();
     }
 
     @Test(expected = TimeoutException.class)
-    public void when_element_is_not_displayed_then_areDisplayed_throws_exception() {
+    public void whenElementIsNotDisplayedThenAreDisplayedThrowsException() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilEach(unvisibleElements).displayed();
     }
 
     @Test(expected = TimeoutException.class)
-    public void when_element_is_not_displayed_then_isDisplayed_throws_exception() {
+    public void whenElementIsNotDisplayedThenIsDisplayedThrowsException() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).until(unvisibleElements).displayed();
     }
 
     @Test
-    public void when_element_is_not_present_then_areNotDisplayed_return_true() {
+    public void whenElementIsNotPresentThenAreNotDisplayedReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilEach(nonexistentElements).not().displayed();
     }
 
     @Test
-    public void when_element_is_not_present_then_isNotDisplayed_return_true() {
+    public void whenElementIsNotPresentThenIsNotDisplayedReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).until(nonexistentElements).not().displayed();
     }
 
     @Test
-    public void when_element_is_not_displayed_then_areNotDisplayed_return_true() {
+    public void whenElementIsNotDisplayedThenAreNotDisplayedReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilEach(unvisibleElements).not().displayed();
     }
 
     @Test
-    public void when_element_is_not_displayed_then_isNotDisplayed_return_true() {
+    public void whenElementIsNotDisplayedThenIsNotDisplayedReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).until(unvisibleElements).not().displayed();
     }
 
     @Test(expected = TimeoutException.class)
-    public void when_element_is_displayed_then_areNotDisplayed_throws_exception() {
+    public void whenElementIsDisplayedThenAreNotDisplayedThrowsException() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilEach(defaultElements).not().displayed();
     }
 
     @Test(expected = TimeoutException.class)
-    public void when_element_is_displayed_then_isNotDisplayed_throws_exception() {
+    public void whenElementIsDisplayedThenIsNotDisplayedThrowsException() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).until(defaultElements).not().displayed();
     }
 
     @Test
-    public void when_element_is_enabled_then_areEnabled_return_true() {
+    public void whenElementIsEnabledThenAreEnabledReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilEach(defaultElements).enabled();
     }
 
     @Test
-    public void when_element_is_enabled_then_isEnabled_return_true() {
+    public void whenElementIsEnabledThenIsEnabledReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).until(defaultElements).enabled();
     }
 
     @Test
-    public void when_single_element_is_enabled_then_isEnabled_return_true() {
+    public void whenSingleElementIsEnabledThenIsEnabledReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).until(defaultElement).enabled();
     }
 
     @Test(expected = TimeoutException.class)
-    public void when_single_nonexisting_element_then_isEnabled_throws_exception() {
+    public void whenSingleNonexistingElementThenIsEnabledThrowsException() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).until(nonexistentElement).enabled();
     }
 
     @Test(expected = TimeoutException.class)
-    public void when_element_is_not_enabled_then_areEnabled_throws_exception() {
+    public void whenElementIsNotEnabledThenAreEnabledThrowsException() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).untilEach(disabledElements).enabled();
     }
 
     @Test(expected = TimeoutException.class)
-    public void when_element_is_not_enabled_then_isEnabled_throws_exception() {
+    public void whenElementIsNotEnabledThenIsEnabledThrowsException() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).until(disabledElements).enabled();
     }
 
     @Test
-    public void when_element_is_not_enabled_then_isNotEnabled_return_true() {
+    public void whenElementIsNotEnabledThenIsNotEnabledReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).until(disabledElements).not().enabled();
     }
 
     @Test(expected = TimeoutException.class)
-    public void when_single_element_is_not_enabled_then_isEnabled_throws_exception() {
+    public void whenSingleElementIsNotEnabledThenIsEnabledThrowsException() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).until(disabledElement).enabled();
     }
 
     @Test
-    public void when_single_element_is_not_enabled_then_isNotEnabled_return_true() {
+    public void whenSingleElementIsNotEnabledThenIsNotEnabledReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).until(disabledElement).not().enabled();
     }
 
     @Test
-    public void when_element_is_not_displayed_then_isPresent_return_true() {
+    public void whenElementIsNotDisplayedThenIsPresentReturnTrue() {
         goTo(JAVASCRIPT_URL);
         await().atMost(1, NANOSECONDS).until(unvisibleElements).present();
     }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentLeniumWaitElementTest.java
9a2570f2d5174c0a47d8de04e2dc11f97b468449
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentLeniumWaitIgnoringTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentLeniumWaitIgnoringTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/FluentLeniumWaitIgnoringTest.java
    public void testIgnoreAllPositive() {
    public void testIgnoreAllNegative() {
    public void testIgnoring1Positive() {
    public void testIgnoring1Negative() {
    public void testIgnoring2Positive() {
    public void testIgnoring2Negative() {
    public void test_ignoreAll_positive() {
    public void test_ignoreAll_negative() {
    public void test_ignoring_1_positive() {
    public void test_ignoring_1_negative() {
    public void test_ignoring_2_positive() {
    public void test_ignoring_2_negative() {
@@ -30,7 +30,7 @@ private static class CustomException3 extends RuntimeException {
     }
 
     @Test
-    public void test_ignoreAll_positive() {
+    public void testIgnoreAllPositive() {
 
         try {
             Collection<Class<? extends Throwable>> exceptions = new ArrayList<>();
@@ -51,7 +51,7 @@ public Boolean get() {
     }
 
     @Test(expected = CustomException3.class)
-    public void test_ignoreAll_negative() {
+    public void testIgnoreAllNegative() {
 
         try {
             Collection<Class<? extends Throwable>> exceptions = new ArrayList<>();
@@ -72,7 +72,7 @@ public Boolean get() {
     }
 
     @Test
-    public void test_ignoring_1_positive() {
+    public void testIgnoring1Positive() {
 
         try {
             await().atMost(1, TimeUnit.NANOSECONDS).ignoring(CustomException.class).ignoring(CustomException2.class)
@@ -90,7 +90,7 @@ public Boolean get() {
     }
 
     @Test(expected = CustomException3.class)
-    public void test_ignoring_1_negative() {
+    public void testIgnoring1Negative() {
 
         try {
             await().atMost(1, TimeUnit.NANOSECONDS).ignoring(CustomException.class).ignoring(CustomException2.class)
@@ -108,7 +108,7 @@ public Boolean get() {
     }
 
     @Test
-    public void test_ignoring_2_positive() {
+    public void testIgnoring2Positive() {
 
         try {
             await().atMost(1, TimeUnit.NANOSECONDS).ignoring(CustomException.class, CustomException2.class)
@@ -126,7 +126,7 @@ public Boolean get() {
     }
 
     @Test(expected = CustomException3.class)
-    public void test_ignoring_2_negative() {
+    public void testIgnoring2Negative() {
 
         try {
             await().atMost(1, TimeUnit.NANOSECONDS).ignoring(CustomException.class, CustomException2.class)
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentLeniumWaitIgnoringTest.java
c201cf392c7ddbc0c4f446482231545f58203845
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentWebElementDelegateClassInTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentWebElementDelegateClassInTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/FluentWebElementDelegateClassInTest.java
    public void whenWebElementInTestThenTheyAreInstanciated() {
    public void when_web_element_in_test_then_they_are_instanciated() {
@@ -24,7 +24,7 @@ public void clickIfDisplayed() {
     }
 
     @Test
-    public void when_web_element_in_test_then_they_are_instanciated() {
+    public void whenWebElementInTestThenTheyAreInstanciated() {
         goTo(IntegrationFluentTest.DEFAULT_URL);
         linkToPage2.clickIfDisplayed();
         assertThat(url()).isEqualTo(IntegrationFluentTest.PAGE_2_URL);
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentWebElementDelegateClassInTest.java
63d5b86fc31210e33faf8c4d7d420c6c88530e1c
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentWebElementInTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentWebElementInTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/FluentWebElementInTest.java
    public void whenWebElementInTestThenTheyAreInstanciated() {
    public void when_web_element_in_test_then_they_are_instanciated() {
@@ -10,7 +10,7 @@ public class FluentWebElementInTest extends IntegrationFluentTest {
     FluentWebElement linkToPage2;
 
     @Test
-    public void when_web_element_in_test_then_they_are_instanciated() {
+    public void whenWebElementInTestThenTheyAreInstanciated() {
         goTo(IntegrationFluentTest.DEFAULT_URL);
         linkToPage2.click();
         assertThat(url()).isEqualTo(IntegrationFluentTest.PAGE_2_URL);
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentWebElementInTest.java
2389d33578581edb2e174202165082b62e13484b
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentWebElementSubclassInTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentWebElementSubclassInTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/FluentWebElementSubclassInTest.java
    public void whenWebElementInTestThenTheyAreInstanciated() {
    public void when_web_element_in_test_then_they_are_instanciated() {
@@ -25,7 +25,7 @@ public void clickIfDisplayed() {
     }
 
     @Test
-    public void when_web_element_in_test_then_they_are_instanciated() {
+    public void whenWebElementInTestThenTheyAreInstanciated() {
         goTo(IntegrationFluentTest.DEFAULT_URL);
         linkToPage2.clickIfDisplayed();
         assertThat(url()).isEqualTo(IntegrationFluentTest.PAGE_2_URL);
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FFluentWebElementSubclassInTest.java
966e5a969529c1431f077e5f02da86229d0a12d4
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FIframeTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FIframeTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/IframeTest.java
    public void shouldGetElementIntoAFrameWithNativeInstructions() {
    public void shouldGetElementIntoAFrameWithFluentSwitchTo() {
    public void shouldGetElementIntoAFrameWithFluentSwitchToBis() {
    public void shouldGetElementIntoAFrameWithFluentSwitchToDefault() {
    public void should_get_element_into_a_frame_with_native_instructions() {
    public void should_get_element_into_a_frame_with_Fluent_switchTo() {
    public void should_get_element_into_a_frame_with_Fluent_switchTo_bis() {
    public void should_get_element_into_a_frame_with_Fluent_switchToDefault() {
@@ -13,7 +13,7 @@ public class IframeTest extends IntegrationFluentTest {
     private IFramePage iFramePage;
 
     @Test
-    public void should_get_element_into_a_frame_with_native_instructions() {
+    public void shouldGetElementIntoAFrameWithNativeInstructions() {
         // Given
         // When
         iFramePage.go();
@@ -28,7 +28,7 @@ public void should_get_element_into_a_frame_with_native_instructions() {
     }
 
     @Test
-    public void should_get_element_into_a_frame_with_Fluent_switchTo() {
+    public void shouldGetElementIntoAFrameWithFluentSwitchTo() {
         // Given
         // When
         iFramePage.go();
@@ -43,7 +43,7 @@ public void should_get_element_into_a_frame_with_Fluent_switchTo() {
     }
 
     @Test
-    public void should_get_element_into_a_frame_with_Fluent_switchTo_bis() {
+    public void shouldGetElementIntoAFrameWithFluentSwitchToBis() {
         // Given
         // When
         iFramePage.go();
@@ -58,7 +58,7 @@ public void should_get_element_into_a_frame_with_Fluent_switchTo_bis() {
     }
 
     @Test
-    public void should_get_element_into_a_frame_with_Fluent_switchToDefault() {
+    public void shouldGetElementIntoAFrameWithFluentSwitchToDefault() {
         // Given
         // When
         iFramePage.go();
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FIframeTest.java
edb708b1b2a1bd7ca0a0225ed5504a8e73e9d69c
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FJavascriptTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FJavascriptTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/JavascriptTest.java
    public void shouldExecuteScriptReturnString() {
    public void shouldExecuteScriptReturnBoolean() {
    public void shouldExecuteScriptReturnDouble() {
    public void shouldExecuteScriptReturnLong() {
    public void shouldExecuteScriptReturnList() {
    public void shouldExecuteAsyncScriptReturnString() {
    public void should_executeScript_return_String() {
    public void should_executeScript_return_Boolean() {
    public void should_executeScript_return_Double() {
    public void should_executeScript_return_Long() {
    public void should_executeScript_return_List() {
    public void should_executeAsyncScript_return_String() {
@@ -31,7 +31,7 @@ public void checkTextParam() {
     }
 
     @Test
-    public void should_executeScript_return_String() {
+    public void shouldExecuteScriptReturnString() {
         final String script = "return 'string';";
         final FluentJavascript fluentJavascript = executeScript(script);
         assertThat(fluentJavascript.isBooleanResult()).isFalse();
@@ -45,7 +45,7 @@ public void should_executeScript_return_String() {
     }
 
     @Test
-    public void should_executeScript_return_Boolean() {
+    public void shouldExecuteScriptReturnBoolean() {
         final String script = "return true;";
         final FluentJavascript fluentJavascript = executeScript(script);
         assertThat(fluentJavascript.isBooleanResult()).isTrue();
@@ -59,7 +59,7 @@ public void should_executeScript_return_Boolean() {
     }
 
     @Test
-    public void should_executeScript_return_Double() {
+    public void shouldExecuteScriptReturnDouble() {
         final String script = "return 12.12;";
         final FluentJavascript fluentJavascript = executeScript(script);
         assertThat(fluentJavascript.isBooleanResult()).isFalse();
@@ -73,7 +73,7 @@ public void should_executeScript_return_Double() {
     }
 
     @Test
-    public void should_executeScript_return_Long() {
+    public void shouldExecuteScriptReturnLong() {
         final String script = "return 5;";
         final FluentJavascript fluentJavascript = executeScript(script);
         assertThat(fluentJavascript.isBooleanResult()).isFalse();
@@ -87,7 +87,7 @@ public void should_executeScript_return_Long() {
     }
 
     @Test
-    public void should_executeScript_return_List() {
+    public void shouldExecuteScriptReturnList() {
         final String script = "return Array('string 1', 'string 2', 5, 12.12, true, Array('test 1', 'test 2'));";
         final FluentJavascript fluentJavascript = executeScript(script);
         assertThat(fluentJavascript.isBooleanResult()).isFalse();
@@ -102,7 +102,7 @@ public void should_executeScript_return_List() {
     }
 
     @Test
-    public void should_executeAsyncScript_return_String() {
+    public void shouldExecuteAsyncScriptReturnString() {
         getDriver().manage().timeouts().setScriptTimeout(200, TimeUnit.MILLISECONDS);
 
         final Stopwatch stopwatch = Stopwatch.createStarted();
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FJavascriptTest.java
9cee7cafa1e107dbb0566dcfe9cf0f79c2123e24
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FPageInPageTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FPageInPageTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/PageInPageTest.java
    public void pagesShouldBeInjected() {
    private IncludedPage pageWithCreatePage;
    public IncludedPage getPageWithCreatePage() {
        return pageWithCreatePage;
    }
fluentlenium-core/src/test/java/org/fluentlenium/integration/PageInPageTest.java
private IncludedPage pageWithCreatePage;
    public IncludedPage getPageWithCreatePage() {
        return pageWithCreatePage;
void pagesShouldBeInjected()
    public void pages_should_be_injected() {
    public IncludedPage pageWithCreatePage;
@@ -21,7 +21,7 @@ public class PageInPageTest extends IntegrationFluentTest {
     private SubSubTestPage subTestPage;
 
     @Test
-    public void pages_should_be_injected() {
+    public void pagesShouldBeInjected() {
         assertThat(testPage).isNotNull();
         assertThat(testPage).isInstanceOf(TestPage.class);
         assertThat(testPage.includedPage).isNotNull();
@@ -51,13 +51,16 @@ class SubTestPage extends TestPage {
 
 class SubTestPageWithCreate extends FluentPage {
 
-    public IncludedPage pageWithCreatePage;
+    private IncludedPage pageWithCreatePage;
 
     public void initFluent(FluentControl control) {
         super.initFluent(control);
         pageWithCreatePage = newInstance(IncludedPage.class);
     }
 
+    public IncludedPage getPageWithCreatePage() {
+        return pageWithCreatePage;
+    }
 }
 
 class IncludedPage extends FluentPage {
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FPageInPageTest.java
dbd07d81434fc8a7833320d0ed206e5b9e53468c
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FPageInPageWithAnnotationPageTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FPageInPageWithAnnotationPageTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/PageInPageWithAnnotationPageTest.java
    public void pagesShouldBeInjected() {
    public void pages_should_be_injected() {
@@ -15,7 +15,7 @@ public class PageInPageWithAnnotationPageTest extends IntegrationFluentTest {
     private SubSubTestPage subTestPage;
 
     @Test
-    public void pages_should_be_injected() {
+    public void pagesShouldBeInjected() {
         TestPage testPage = newInstance(SubSubTestPage.class);
         assertThat(testPage).isNotNull();
         assertThat(testPage).isInstanceOf(TestPage.class);
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FPageInPageWithAnnotationPageTest.java
715428924177b4f0e20c35afe10ce90ff03f9f9b
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FPageInPageWithCreatePageTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FPageInPageWithCreatePageTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/PageInPageWithCreatePageTest.java
    public void pagesShouldBeInjected() {
        assertThat(subTestPage.getPageWithCreatePage()).isNotNull();
        assertThat(subTestPage.getPageWithCreatePage()).isInstanceOf(IncludedPage.class);
    public void pages_should_be_injected() {
        assertThat(subTestPage.pageWithCreatePage).isNotNull();
        assertThat(subTestPage.pageWithCreatePage).isInstanceOf(IncludedPage.class);
@@ -15,8 +15,8 @@ public class PageInPageWithCreatePageTest extends IntegrationFluentTest {
     private SubTestPageWithCreate subTestPage;
 
     @Test
-    public void pages_should_be_injected() {
-        assertThat(subTestPage.pageWithCreatePage).isNotNull();
-        assertThat(subTestPage.pageWithCreatePage).isInstanceOf(IncludedPage.class);
+    public void pagesShouldBeInjected() {
+        assertThat(subTestPage.getPageWithCreatePage()).isNotNull();
+        assertThat(subTestPage.getPageWithCreatePage()).isInstanceOf(IncludedPage.class);
     }
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FPageInPageWithCreatePageTest.java
be9b06f14d712e5fbed0284670d0da71f5aa4cfa
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FSearchOnlyWithFiltersTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FSearchOnlyWithFiltersTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/SearchOnlyWithFiltersTest.java
    public void checkDollarWorks() {
    public void checkDollarAndIndexWorks() {
    public void check$Works() {
    public void check$AndIndexWorks() {
@@ -58,14 +58,14 @@ public void checkMultipleWithWorks() {
     }
 
     @Test
-    public void check$Works() {
+    public void checkDollarWorks() {
         goTo(DEFAULT_URL);
         FluentList list = $(withName("name"));
         assertThat(list.ids()).containsOnly("id");
     }
 
     @Test
-    public void check$AndIndexWorks() {
+    public void checkDollarAndIndexWorks() {
         goTo(DEFAULT_URL);
         FluentWebElement element = $(withClass("small")).index(1);
         assertThat(element.id()).isEqualTo("id2");
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FSearchOnlyWithFiltersTest.java
365e5c6d6682d3e486d94be617c1ec58971cca07
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FSeleniumFindBy.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FSeleniumFindBy.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/SeleniumFindBy.java
    public void shouldFindByRetrieveElement() {
    public void shouldFindByRetrieveList() {
    public void shouldFindAllFindByRetrieveList() {
    public void shouldFindByRetrievedObjectWorkForSeleniumActions() {
    public void should_findBy_retrieve_element() {
    public void should_findBy_retrieve_list() {
    public void should_findAll_findBy_retrieve_list() {
    public void should_findBy_retrieved_object_work_for_selenium_actions() {
@@ -22,15 +22,15 @@ public class SeleniumFindBy extends IntegrationFluentTest {
     @Page
     PageIndex page;
 
-    public void should_findBy_retrieve_element() {
+    public void shouldFindByRetrieveElement() {
         page.go();
         page.isAt();
 
         Assertions.assertThat(page.location.getText()).isEqualTo("Pharmacy");
     }
 
     @Test
-    public void should_findBy_retrieve_list() {
+    public void shouldFindByRetrieveList() {
         page.go();
         page.isAt();
         Assertions.assertThat(page.smalls).hasSize(3);
@@ -44,7 +44,7 @@ public void should_findBy_retrieve_list() {
     }
 
     @Test
-    public void should_findAll_findBy_retrieve_list() {
+    public void shouldFindAllFindByRetrieveList() {
         page.go();
         page.isAt();
         Assertions.assertThat(page.findAllElements).hasSize(4);
@@ -58,7 +58,7 @@ public void should_findAll_findBy_retrieve_list() {
     }
 
     @Test
-    public void should_findBy_retrieved_object_work_for_selenium_actions() {
+    public void shouldFindByRetrievedObjectWorkForSeleniumActions() {
         page.go();
         page.isAt();
         assertThat(page.getText()).isEqualTo("This text should change on MouseOver");
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2FSeleniumFindBy.java
8bb5eceee6a9d7afb78475bf6330ebd57c1799cc
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2Finitialization%2FAnnotationInitialization.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2Finitialization%2FAnnotationInitialization.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/initialization/AnnotationInitialization.java
    private WebDriver webDriver = new HtmlUnitDriver();
    private TestAboutBlankPage page2;
    private TestPrivatePage page;
    public void testNoException() {
    public void testNoExceptionWhenInnerClass() {
    public WebDriver webDriver = new HtmlUnitDriver();
    public TestAboutBlankPage page2;
    public TestPrivatePage page;
    public void test_no_exception() {
    public void test_no_exception_when_inner_class() {
@@ -8,21 +8,21 @@
 import org.openqa.selenium.htmlunit.HtmlUnitDriver;
 
 public class AnnotationInitialization extends FluentTest {
-    public WebDriver webDriver = new HtmlUnitDriver();
+    private WebDriver webDriver = new HtmlUnitDriver();
 
     @Page
-    public TestAboutBlankPage page2;
+    private TestAboutBlankPage page2;
 
     @Page
-    public TestPrivatePage page;
+    private TestPrivatePage page;
 
     @Test
-    public void test_no_exception() {
+    public void testNoException() {
         page2.go();
     }
 
     @Test
-    public void test_no_exception_when_inner_class() {
+    public void testNoExceptionWhenInnerClass() {
         page2.go();
     }
 
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2Finitialization%2FAnnotationInitialization.java
42c96142a0be4fcf1b30e2d849d474d389eaa4b0
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2Finitialization%2FBeforeInitialization.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2Finitialization%2FBeforeInitialization.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/initialization/BeforeInitialization.java
    private WebDriver webDriver = new HtmlUnitDriver();
    private TestPrivatePageWithElement page2;
    private TestPrivatePage2 page;
    public void testNoException() {
    public void testInternalFluentWebElementInstantiate() {
        TestPrivatePageWithElement privatePage = newInstance(TestPrivatePageWithElement.class);
        assertThat(privatePage.myElement).isNotNull();
    public void testSuperclassFluentWebElementInstantiate() {
        TestPrivatePageWithElementSubclass privatePage = newInstance(TestPrivatePageWithElementSubclass.class);
        assertThat(privatePage.myElement).isNotNull();
    public WebDriver webDriver = new HtmlUnitDriver();
    public TestPrivatePageWithElement page2;
    public TestPrivatePage2 page;
    public void test_no_exception() {
    public void test_internal_fluentwebelement_instantiate() {
        TestPrivatePageWithElement page = newInstance(TestPrivatePageWithElement.class);
        assertThat(page.myElement).isNotNull();
    public void test_superclass_fluentwebelement_instantiate() {
        TestPrivatePageWithElementSubclass page = newInstance(TestPrivatePageWithElementSubclass.class);
        assertThat(page.myElement).isNotNull();
@@ -11,9 +11,9 @@
 import static org.assertj.core.api.Assertions.assertThat;
 
 public class BeforeInitialization extends FluentTest {
-    public WebDriver webDriver = new HtmlUnitDriver();
-    public TestPrivatePageWithElement page2;
-    public TestPrivatePage2 page;
+    private WebDriver webDriver = new HtmlUnitDriver();
+    private TestPrivatePageWithElement page2;
+    private TestPrivatePage2 page;
 
     @Before
     public void beforeTest() {
@@ -22,20 +22,20 @@ public void beforeTest() {
     }
 
     @Test
-    public void test_no_exception() {
+    public void testNoException() {
         page.go();
     }
 
     @Test
-    public void test_internal_fluentwebelement_instantiate() {
-        TestPrivatePageWithElement page = newInstance(TestPrivatePageWithElement.class);
-        assertThat(page.myElement).isNotNull();
+    public void testInternalFluentWebElementInstantiate() {
+        TestPrivatePageWithElement privatePage = newInstance(TestPrivatePageWithElement.class);
+        assertThat(privatePage.myElement).isNotNull();
     }
 
     @Test
-    public void test_superclass_fluentwebelement_instantiate() {
-        TestPrivatePageWithElementSubclass page = newInstance(TestPrivatePageWithElementSubclass.class);
-        assertThat(page.myElement).isNotNull();
+    public void testSuperclassFluentWebElementInstantiate() {
+        TestPrivatePageWithElementSubclass privatePage = newInstance(TestPrivatePageWithElementSubclass.class);
+        assertThat(privatePage.myElement).isNotNull();
     }
 
     @Override
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2Finitialization%2FBeforeInitialization.java
db22fd189917ee46d09805d81cd8692761447644
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2Finitialization%2FConstructorInitialization.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2Finitialization%2FConstructorInitialization.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/initialization/ConstructorInitialization.java
    private WebDriver webDriver = new HtmlUnitDriver();
    public void doNotUseOverridableMethodsInAConstructor() {
    public WebDriver webDriver = new HtmlUnitDriver();
    public void do_not_use_overridable_methods_in_a_constructor() {
@@ -8,10 +8,10 @@
 import static org.assertj.core.api.Assertions.assertThat;
 
 public class ConstructorInitialization extends FluentTest {
-    public WebDriver webDriver = new HtmlUnitDriver();
+    private WebDriver webDriver = new HtmlUnitDriver();
 
     @Test
-    public void do_not_use_overridable_methods_in_a_constructor() {
+    public void doNotUseOverridableMethodsInAConstructor() {
         assertThat(webDriver).isEqualTo(this.getDriver());
     }
 
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2Finitialization%2FConstructorInitialization.java
0a140f6253b83f0dc23ac5225231c7fdeb56565e
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2Futil%2Fadapter%2FFluentTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2Futil%2Fadapter%2FFluentTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/integration/util/adapter/FluentTest.java
    //CHECKSTYLE.OFF: VisibilityModifier
    //CHECKSTYLE.ON: VisibilityModifier
@@ -36,6 +36,7 @@ public void failed(Throwable e, Description description) {
         }
     };
 
+    //CHECKSTYLE.OFF: VisibilityModifier
     @ClassRule
     public static TestRule classWatchman = new TestRule() {
 
@@ -54,5 +55,6 @@ public void evaluate() throws Throwable {
             };
         }
     };
+    //CHECKSTYLE.ON: VisibilityModifier
 
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fintegration%2Futil%2Fadapter%2FFluentTest.java
dfad12d75b7791cb3b5e344dfdd3646cf23414ee
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Futils%2FReflectionUtilsTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Futils%2FReflectionUtilsTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/utils/ReflectionUtilsTest.java
        Object[] objects = {"test", 1, 2L, true, Integer.valueOf(3)};
                .isEqualTo(new Class<?>[] {String.class, Integer.class, boolean.class, Object.class});
        Object[] objects = { "test", 1, 2L, true, Integer.valueOf(3) };
                .isEqualTo(new Class<?>[] { String.class, Integer.class, boolean.class, Object.class });
@@ -12,7 +12,7 @@
 public class ReflectionUtilsTest {
     @Test
     public void testToClass() {
-        Object[] objects = { "test", 1, 2L, true, Integer.valueOf(3) };
+        Object[] objects = {"test", 1, 2L, true, Integer.valueOf(3)};
 
         Class<?>[] classes = ReflectionUtils.toClass(objects);
 
@@ -58,7 +58,7 @@ public void call() throws Throwable {
 
         Constructor<SuperClass> superClassConstructor = ReflectionUtils.getConstructor(SuperClass.class, "1", 2, true, "object");
         assertThat(superClassConstructor.getParameterTypes())
-                .isEqualTo(new Class<?>[] { String.class, Integer.class, boolean.class, Object.class });
+                .isEqualTo(new Class<?>[] {String.class, Integer.class, boolean.class, Object.class});
 
         SuperClass object = ReflectionUtils.newInstance(SuperClass.class, "1", 2, true, "object");
         assertThat(object.param1).isEqualTo("1");
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Futils%2FReflectionUtilsTest.java
f343c1d13031defa22b869ec9d35d8fcf142fe9b
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Futils%2FResourceUtils.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Futils%2FResourceUtils.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/java/org/fluentlenium/utils/ResourceUtils.java
/**
 * Utility class to access classpath resource
 */
public final class ResourceUtils {
    private ResourceUtils() {
        // Utility class
    }

fluentlenium-core/src/test/java/org/fluentlenium/utils/ResourceUtils.java
// Utility class
private ResourceUtils()
public class ResourceUtils {
@@ -8,7 +8,14 @@
 import java.io.InputStream;
 import java.net.URL;
 
-public class ResourceUtils {
+/**
+ * Utility class to access classpath resource
+ */
+public final class ResourceUtils {
+    private ResourceUtils() {
+        // Utility class
+    }
+
     public static File getResourceAsFile(final String resourcePath) throws IOException {
         InputStream resourceStream = ClassLoader.getSystemClassLoader().getResourceAsStream(resourcePath);
         if (resourceStream == null) {
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Futils%2FResourceUtils.java
144b072a32b0550840ea17c6a2bb990067bfe79b
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fresources%2Forg%2Ffluentlenium%2Fconfiguration%2Fcapabilities-false.json
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fresources%2Forg%2Ffluentlenium%2Fconfiguration%2Fcapabilities-false.json?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/resources/org/fluentlenium/configuration/capabilities-false.json
}
}
@@ -1,3 +1,3 @@
 {
   "javascriptEnabled": false
-}
\ No newline at end of file
+}
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fresources%2Forg%2Ffluentlenium%2Fconfiguration%2Fcapabilities-false.json
0c4ca73721a2be7ad6b08dd8ee5c483edaeb057a
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fresources%2Forg%2Ffluentlenium%2Fconfiguration%2Fcapabilities.json
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-core%2Fsrc%2Ftest%2Fresources%2Forg%2Ffluentlenium%2Fconfiguration%2Fcapabilities.json?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-core/src/test/resources/org/fluentlenium/configuration/capabilities.json
}
}
@@ -1,3 +1,3 @@
 {
   "javascriptEnabled": true
-}
\ No newline at end of file
+}
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-core%2Fsrc%2Ftest%2Fresources%2Forg%2Ffluentlenium%2Fconfiguration%2Fcapabilities.json
f8e14dc46982646e8091fc58566145b483ac33f0
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-junit%2Fsrc%2Fit%2Fjunit%2Fjunit-default%2Fpom.xml
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-junit%2Fsrc%2Fit%2Fjunit%2Fjunit-default%2Fpom.xml?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-junit/src/it/junit/junit-default/pom.xml
</project>
</project>
@@ -40,4 +40,4 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
-</project>
\ No newline at end of file
+</project>
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-junit%2Fsrc%2Fit%2Fjunit%2Fjunit-default%2Fpom.xml
a51a41b2af12cff940212baee4b3d4a1c92fc564
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-junit%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Fjunit%2FFluentTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-junit%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Fjunit%2FFluentTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-junit/src/main/java/org/fluentlenium/adapter/junit/FluentTest.java
    //CHECKSTYLE.OFF: VisibilityModifier
    //CHECKSTYLE.ON: VisibilityModifier
@@ -38,6 +38,7 @@ public void failed(Throwable e, Description description) {
         }
     };
 
+    //CHECKSTYLE.OFF: VisibilityModifier
     @ClassRule
     public static TestRule classWatchman = new TestRule() {
 
@@ -56,5 +57,6 @@ public void evaluate() throws Throwable {
             };
         }
     };
+    //CHECKSTYLE.ON: VisibilityModifier
 
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-junit%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Fjunit%2FFluentTest.java
3e972287d914fed8bebbe6c540b22c22d9b7f6d6
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-junit%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Fjunit%2FFluentTestRuleTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-junit%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Fjunit%2FFluentTestRuleTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-junit/src/test/java/org/fluentlenium/adapter/junit/FluentTestRuleTest.java
    //CHECKSTYLE.OFF: IllegalThrows
    public void whenNoErrorEverythingIsCalled() throws Throwable {
    public void whenInitFailsTestIsNotCalled() throws Throwable {
    //CHECKSTYLE.ON: IllegalThrows
    public void when_no_error_everything_is_called() throws Throwable {
    public void when_init_fails_test_is_not_called() throws Throwable {
@@ -39,8 +39,9 @@ private static class TestException extends Exception {
 
     }
 
+    //CHECKSTYLE.OFF: IllegalThrows
     @Test
-    public void when_no_error_everything_is_called() throws Throwable {
+    public void whenNoErrorEverythingIsCalled() throws Throwable {
         final FluentTestRule testRule = spy(new FluentTestRule());
 
         testRule.apply(base, description).evaluate();
@@ -53,7 +54,7 @@ public void when_no_error_everything_is_called() throws Throwable {
     }
 
     @Test
-    public void when_init_fails_test_is_not_called() throws Throwable {
+    public void whenInitFailsTestIsNotCalled() throws Throwable {
         final FluentTestRule testRule = spy(new FluentTestRule());
 
         doThrow(TestException.class).when(testRule).starting(description);
@@ -70,4 +71,5 @@ public void call() throws Throwable {
         verify(testRule).failed(any(TestException.class), eq(description));
         verify(testRule).finished(description);
     }
+    //CHECKSTYLE.ON: IllegalThrows
 }
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-junit%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Fjunit%2FFluentTestRuleTest.java
f31b7896cac68ffcee492205b2655da537af8049
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-junit%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Fjunit%2Fintegration%2FFluentTestTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-junit%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Fjunit%2Fintegration%2FFluentTestTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-junit/src/test/java/org/fluentlenium/adapter/junit/integration/FluentTestTest.java
    private static byte[] screenshotData = {1, 4, 7, 9, 2, 4, 2, 4, 3};
        assertThat(tmpPath.list()).contains("AutomaticScreenShotTest_failingTest(org.fluentlenium.adapter.junit.integration"
                + ".FluentTestTest$AutomaticScreenShotTest).html");
        assertThat(tmpPath.list()).contains("AutomaticScreenShotTest_failingTest(org.fluentlenium.adapter.junit.integration"
                + ".FluentTestTest$AutomaticScreenShotTest).png");
        File htmlDumpFile = new File(tmpPath, "AutomaticScreenShotTest_failingTest(org.fluentlenium.adapter.junit.integration"
                + ".FluentTestTest$AutomaticScreenShotTest).html");
    private static byte[] screenshotData = { 1, 4, 7, 9, 2, 4, 2, 4, 3 };
        assertThat(tmpPath.list()).contains(
                "AutomaticScreenShotTest_failingTest(org.fluentlenium.adapter.junit.integration"
                        + ".FluentTestTest$AutomaticScreenShotTest).html");
        assertThat(tmpPath.list()).contains(
                "AutomaticScreenShotTest_failingTest(org.fluentlenium.adapter.junit.integration"
                        + ".FluentTestTest$AutomaticScreenShotTest).png");
        File htmlDumpFile = new File(tmpPath,
                "AutomaticScreenShotTest_failingTest(org.fluentlenium.adapter.junit.integration"
                        + ".FluentTestTest$AutomaticScreenShotTest).html");
@@ -40,7 +40,7 @@ private interface ScreenshotWebDriver extends WebDriver, TakesScreenshot {
     private static List<ScreenshotWebDriver> screenshotWebDrivers = new ArrayList<>();
     private static File screenshotFile;
     private static String html = "<html>FluentLenium</html>";
-    private static byte[] screenshotData = { 1, 4, 7, 9, 2, 4, 2, 4, 3 };
+    private static byte[] screenshotData = {1, 4, 7, 9, 2, 4, 2, 4, 3};
 
     private static File tmpPath = Files.newTemporaryFolder();
 
@@ -272,19 +272,16 @@ public void testAutomaticScreenShotTest() throws IOException {
         Mockito.verify(driver).getScreenshotAs(OutputType.FILE);
         Mockito.verify(driver).findElements(By.cssSelector("html"));
 
-        assertThat(tmpPath.list()).contains(
-                "AutomaticScreenShotTest_failingTest(org.fluentlenium.adapter.junit.integration"
-                        + ".FluentTestTest$AutomaticScreenShotTest).html");
-        assertThat(tmpPath.list()).contains(
-                "AutomaticScreenShotTest_failingTest(org.fluentlenium.adapter.junit.integration"
-                        + ".FluentTestTest$AutomaticScreenShotTest).png");
+        assertThat(tmpPath.list()).contains("AutomaticScreenShotTest_failingTest(org.fluentlenium.adapter.junit.integration"
+                + ".FluentTestTest$AutomaticScreenShotTest).html");
+        assertThat(tmpPath.list()).contains("AutomaticScreenShotTest_failingTest(org.fluentlenium.adapter.junit.integration"
+                + ".FluentTestTest$AutomaticScreenShotTest).png");
 
         File screenshotGeneratedFile = new File(tmpPath,
                 "AutomaticScreenShotTest_failingTest(org.fluentlenium.adapter.junit.integration"
                         + ".FluentTestTest$AutomaticScreenShotTest).png");
-        File htmlDumpFile = new File(tmpPath,
-                "AutomaticScreenShotTest_failingTest(org.fluentlenium.adapter.junit.integration"
-                        + ".FluentTestTest$AutomaticScreenShotTest).html");
+        File htmlDumpFile = new File(tmpPath, "AutomaticScreenShotTest_failingTest(org.fluentlenium.adapter.junit.integration"
+                + ".FluentTestTest$AutomaticScreenShotTest).html");
 
         try {
             assertThat(FileUtils.readFileToByteArray(screenshotGeneratedFile)).isEqualTo(screenshotData);
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-junit%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Fjunit%2Fintegration%2FFluentTestTest.java
b3b6689aa89aa7180c8e9740ff55e99dd390c94c
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-testng%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Ftestng%2FFluentTestNg.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-testng%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Ftestng%2FFluentTestNg.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-testng/src/main/java/org/fluentlenium/adapter/testng/FluentTestNg.java
    public synchronized Map<Method, ITestNGMethod> getMethods(ITestContext context) {
    public synchronized void afterTest(ITestContext context) {
    synchronized public Map<Method, ITestNGMethod> getMethods(ITestContext context) {
    synchronized public void afterTest(ITestContext context) {
@@ -27,7 +27,7 @@ public FluentTestNg() {
 
     private Map<ITestContext, Map<Method, ITestNGMethod>> methods = new HashMap<>();
 
-    synchronized public Map<Method, ITestNGMethod> getMethods(ITestContext context) {
+    public synchronized Map<Method, ITestNGMethod> getMethods(ITestContext context) {
         Map<Method, ITestNGMethod> testMethods = methods.get(context);
 
         if (testMethods == null) {
@@ -43,7 +43,7 @@ synchronized public Map<Method, ITestNGMethod> getMethods(ITestContext context)
     }
 
     @AfterTest(alwaysRun = true)
-    synchronized public void afterTest(ITestContext context) {
+    public synchronized void afterTest(ITestContext context) {
         methods.remove(context);
     }
 
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-testng%2Fsrc%2Fmain%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Ftestng%2FFluentTestNg.java
eb7b0be3b213e3363a6519290db4e6a973341d2f
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-testng%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Ftestng%2Fintegration%2FDontRunTestsWhenInitFailTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-testng%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Ftestng%2Fintegration%2FDontRunTestsWhenInitFailTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-testng/src/test/java/org/fluentlenium/adapter/testng/integration/DontRunTestsWhenInitFailTest.java
        TestClass() {
        testNG.setTestClasses(new Class[] {TestClass.class});
        public TestClass() {
        testNG.setTestClasses(new Class[] { TestClass.class });
fluentlenium-testng/src/test/java/org/fluentlenium/adapter/testng/integration/DontRunTestsWhenInitFailTest.java
testNG.setTestClasses(new Class[] { TestClass.class
public TestClass()
@@ -14,7 +14,7 @@ public class DontRunTestsWhenInitFailTest {
 
     private static class TestClass extends FluentTestNg {
 
-        public TestClass() {
+        TestClass() {
             getConfiguration().setScreenshotMode(TriggerMode.AUTOMATIC_ON_FAIL);
             getConfiguration().setHtmlDumpMode(TriggerMode.AUTOMATIC_ON_FAIL);
         }
@@ -36,7 +36,7 @@ public void testDriverFailShouldNotCallTestMethod() {
     public void testRun() {
 
         TestNG testNG = new TestNG(false);
-        testNG.setTestClasses(new Class[] { TestClass.class });
+        testNG.setTestClasses(new Class[] {TestClass.class});
 
         TestListenerAdapter listenerAdapter = Mockito.mock(TestListenerAdapter.class);
         testNG.addListener(listenerAdapter);
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-testng%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Ftestng%2Fintegration%2FDontRunTestsWhenInitFailTest.java
f80f52828f71da3d00752e9dc83b97fe19fb9f2e
modified
https://github.com/FluentLenium/FluentLenium/blob/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-testng%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Ftestng%2Fintegration%2FFluentCloseTest.java
https://api.github.com/repos/FluentLenium/FluentLenium/contents/fluentlenium-testng%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Ftestng%2Fintegration%2FFluentCloseTest.java?ref=5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd
fluentlenium-testng/src/test/java/org/fluentlenium/adapter/testng/integration/FluentCloseTest.java
    public void whenDefaultSharedDriverThenDriverIsClosedAfterMethodCall() {
    public void when_default_shared_driver_then_driver_is_closed_after_method_call() {
@@ -9,7 +9,7 @@
 public class FluentCloseTest extends IntegrationFluentTestNg {
 
     @Test
-    public void when_default_shared_driver_then_driver_is_closed_after_method_call() {
+    public void whenDefaultSharedDriverThenDriverIsClosedAfterMethodCall() {
         goTo("about:blank");
     }
 
https://github.com/FluentLenium/FluentLenium/raw/5e015b37c1f051bc98013ea7924b1fdd6bb6c7dd/fluentlenium-testng%2Fsrc%2Ftest%2Fjava%2Forg%2Ffluentlenium%2Fadapter%2Ftestng%2Fintegration%2FFluentCloseTest.java
b9f84cc90925eb014f97152a69c974426d80522b
modified
fluentlenium$fluentlenium
assertThat(fluentWebElement).isInstanceOf(FluentWebElement.class);
        Filter[] filters = new Filter[] {filter1, filter2
void
void canLoopIntoFluentWebElementAfterASearch()
Filter[] filters = new Filter[] { filter1, filter2
void
void can_loop_into_fluentWebElement_after_a_search()