Skip to content

Commit 5a26ef0

Browse files
committed
disable some pmd checks for specific classes
1 parent f4697a8 commit 5a26ef0

5 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/main/java/org/htmlunit/WebClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@
151151
* @author René Schwietzke
152152
* @author Sven Strickroth
153153
*/
154+
@SuppressWarnings("PMD.TooManyFields")
154155
public class WebClient implements Serializable, AutoCloseable {
155156

156157
/** Logging support. */

src/main/java/org/htmlunit/WebClientOptions.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
* @author Madis Pärn
3838
* @author Ronald Brill
3939
*/
40+
@SuppressWarnings("PMD.TooManyFields")
4041
public class WebClientOptions implements Serializable {
4142

4243
/** 1920. */

src/main/java/org/htmlunit/WebRequest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
* @author Lai Quang Duong
5555
* @author Kristof Neirynck
5656
*/
57+
@SuppressWarnings("PMD.TooManyFields")
5758
public class WebRequest implements Serializable {
5859

5960
/**

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@
139139
* @author Lai Quang Duong
140140
* @author Sven Strickroth
141141
*/
142+
@SuppressWarnings("PMD.TooManyFields")
142143
public class HtmlPage extends SgmlPage {
143144

144145
private static final Log LOG = LogFactory.getLog(HtmlPage.class);

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@
143143
* @see <a href="http://msdn.microsoft.com/en-us/library/ms535873.aspx">MSDN documentation</a>
144144
*/
145145
@JsxClass
146+
@SuppressWarnings("PMD.TooManyFields")
146147
public class Window extends EventTarget implements WindowOrWorkerGlobalScope, AutoCloseable {
147148

148149
private static final Log LOG = LogFactory.getLog(Window.class);

0 commit comments

Comments
 (0)