Skip to content

Commit af325b3

Browse files
committed
checkstyle fixes
1 parent 49f0706 commit af325b3

25 files changed

Lines changed: 35 additions & 37 deletions

checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
<property name="authorFormat" value="\S \S"/>
135135
</module>
136136
<module name="JavadocVariable">
137-
<property name="scope" value="protected"/>
137+
<property name="accessModifiers" value="protected"/>
138138
</module>
139139
<module name="JavadocStyle">
140140
<property name="scope" value="protected"/>

src/main/java/org/htmlunit/WebResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ public Charset getContentCharset() {
240240
* @return {@code true} if the charset of the previous call to {@link #getContentCharset()} was
241241
* "tentative".
242242
* @see <a href="https://html.spec.whatwg.org/multipage/parsing.html#concept-encoding-confidence">
243-
* https://html.spec.whatwg.org/multipage/parsing.html#concept-encoding-confidence</a>
243+
* https://html.spec.whatwg.org/multipage/parsing.html#concept-encoding-confidence</a>
244244
*/
245245
public boolean wasContentCharsetTentative() {
246246
return wasContentCharsetTentative_;

src/main/java/org/htmlunit/html/HtmlDomTreeWalker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* therefore we have this impl as backend.
2727
*
2828
* @see <a href="http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html">
29-
* DOM-Level-2-Traversal-Range</a>
29+
* DOM-Level-2-Traversal-Range</a>
3030
* @author <a href="mailto:mike@10gen.com">Mike Dirolf</a>
3131
* @author Frank Danek
3232
* @author Ahmed Ashour

src/main/java/org/htmlunit/html/HtmlOption.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public final void setLabelAttribute(final String newLabel) {
224224
* <a href="http://www.w3.org/TR/html401/">HTML 4.01</a>
225225
* documentation for details on the use of this attribute.
226226
* @see <a href="http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#adef-value-OPTION">
227-
* initial value if value attribute is not set</a>
227+
* initial value if value attribute is not set</a>
228228
* @return the value of the attribute {@code value}
229229
*/
230230
public final String getValueAttribute() {

src/main/java/org/htmlunit/javascript/JavaScriptEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
* @author Sven Strickroth
104104
*
105105
* @see <a href="http://groups-beta.google.com/group/netscape.public.mozilla.jseng/browse_thread/thread/b4edac57329cf49f/069e9307ec89111f">
106-
* Rhino and Java Browser</a>
106+
* Rhino and Java Browser</a>
107107
*/
108108
public class JavaScriptEngine implements AbstractJavaScriptEngine<Script> {
109109

src/main/java/org/htmlunit/javascript/host/Notification.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* A Notification.
3030
*
3131
* @see <a href="https://developer.mozilla.org/en/docs/Web/API/notification">
32-
* MDN - Notification</a>
32+
* MDN - Notification</a>
3333
* @author Marc Guillemot
3434
* @author Ronald Brill
3535
* @author Ahmed Ashour

src/main/java/org/htmlunit/javascript/host/Screen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* @author cd alexndr
3939
*
4040
* @see <a href="http://msdn.microsoft.com/en-us/library/ms535868.aspx">
41-
* MSDN documentation</a>
41+
* MSDN documentation</a>
4242
* @see <a href="http://www.mozilla.org/docs/dom/domref/dom_window_ref.html">Mozilla documentation</a>
4343
*/
4444
@JsxClass

src/main/java/org/htmlunit/javascript/host/Window.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ private URL makeUrlForOpenWindow(final String urlString) {
484484
* and does not contain an other page than the one that originated the setTimeout.
485485
*
486486
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout">
487-
* MDN web docs</a>
487+
* MDN web docs</a>
488488
*
489489
* @param context the JavaScript context
490490
* @param scope the scope
@@ -503,7 +503,7 @@ public static Object setTimeout(final Context context, final Scriptable scope,
503503
* Sets a chunk of JavaScript to be invoked each time a specified number of milliseconds has elapsed.
504504
*
505505
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setInterval">
506-
* MDN web docs</a>
506+
* MDN web docs</a>
507507
* @param context the JavaScript context
508508
* @param scope the scope
509509
* @param thisObj the scriptable
@@ -1676,7 +1676,7 @@ public void setOuterHeight(final int height) {
16761676
* Prints the current page. The current implementation uses the {@link PrintHandler}
16771677
* defined for the {@link WebClient} to process the window.
16781678
* @see <a href="http://www.mozilla.org/docs/dom/domref/dom_window_ref85.html">
1679-
* Mozilla documentation</a>
1679+
* Mozilla documentation</a>
16801680
* @see <a href="http://msdn.microsoft.com/en-us/library/ms536672.aspx">MSDN documentation</a>
16811681
*/
16821682
@JsxFunction

src/main/java/org/htmlunit/javascript/host/WindowOrWorkerGlobalScopeMixin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public static String btoa(final String stringToEncode, final HtmlUnitScriptable
106106
* and does not contain an other page than the one that originated the setTimeout.
107107
*
108108
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout">
109-
* MDN web docs</a>
109+
* MDN web docs</a>
110110
*
111111
* @param context the JavaScript context
112112
* @param thisObj the scriptable
@@ -131,7 +131,7 @@ public static Object setTimeout(final Context context, final Scriptable thisObj,
131131
* Sets a chunk of JavaScript to be invoked each time a specified number of milliseconds has elapsed.
132132
*
133133
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setInterval">
134-
* MDN web docs</a>
134+
* MDN web docs</a>
135135
* @param context the JavaScript context
136136
* @param thisObj the scriptable
137137
* @param args the arguments passed into the method

src/main/java/org/htmlunit/javascript/host/dom/DOMException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* Exception for DOM manipulations.
3232
*
3333
* @see <a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-17189187">
34-
* DOM-Level-2-Core</a>
34+
* DOM-Level-2-Core</a>
3535
* @author Marc Guillemot
3636
* @author Frank Danek
3737
* @author Ahmed Ashour

0 commit comments

Comments
 (0)