Skip to content

Commit 8f5f2a0

Browse files
New added code was formatted. Check style rules were changed
1 parent 517313e commit 8f5f2a0

File tree

11 files changed

+635
-633
lines changed

11 files changed

+635
-633
lines changed

google-style.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<property name="allowNonPrintableEscapes" value="true"/>
4343
</module>
4444
<module name="LineLength">
45-
<property name="max" value="100"/>
45+
<property name="max" value="120"/>
4646
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
4747
</module>
4848
<module name="AvoidStarImport">
@@ -181,9 +181,12 @@
181181
<property name="allowSamelineMultipleAnnotations" value="true"/>
182182
</module>
183183
<module name="NonEmptyAtclauseDescription"/>
184-
<module name="JavadocTagContinuationIndentation"/>
184+
<module name="JavadocTagContinuationIndentation">
185+
<property name="severity" value="warning"/>
186+
</module>
185187
<module name="SummaryJavadoc">
186188
<property name="forbiddenSummaryFragments" value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/>
189+
<property name="severity" value="warning"/>
187190
</module>
188191
<module name="JavadocParagraph">
189192
<property name="severity" value="warning"/>

src/main/java/org/openqa/selenium/SearchContext.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@
2020
import java.util.List;
2121

2222
public interface SearchContext {
23-
/**
24-
* Find all elements within the current context using the given mechanism.
25-
*
26-
* @param by The locating mechanism to use
27-
* @return A list of all {@link WebElement}s, or an empty list if nothing matches
28-
* @see org.openqa.selenium.By
29-
*/
30-
List<WebElement> findElements(By by);
23+
/**
24+
* Find all elements within the current context using the given mechanism.
25+
*
26+
* @param by The locating mechanism to use
27+
* @return A list of all {@link WebElement}s, or an empty list if nothing matches
28+
* @see org.openqa.selenium.By
29+
*/
30+
List<WebElement> findElements(By by);
3131

3232

33-
/**
34-
* Find the first {@link WebElement} using the given method.
35-
*
36-
* @param by The locating mechanism
37-
* @return The first matching element on the current context
38-
* @throws NoSuchElementException If no matching elements are found
39-
*/
40-
WebElement findElement(By by);
33+
/**
34+
* Find the first {@link WebElement} using the given method.
35+
*
36+
* @param by The locating mechanism
37+
* @return The first matching element on the current context
38+
* @throws NoSuchElementException If no matching elements are found
39+
*/
40+
WebElement findElement(By by);
4141
}

0 commit comments

Comments
 (0)