This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new ff9f523 HDDS-6509. Checkstyle: Enable setterCanReturnItsClass in
HiddenField (#3237)
ff9f523 is described below
commit ff9f5238991421fd27c41ecad4ea8b3f46dc4859
Author: Kaijie Chen <[email protected]>
AuthorDate: Sat Mar 26 03:20:29 2022 +0800
HDDS-6509. Checkstyle: Enable setterCanReturnItsClass in HiddenField (#3237)
---
hadoop-hdds/dev-support/checkstyle/checkstyle.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/hadoop-hdds/dev-support/checkstyle/checkstyle.xml
b/hadoop-hdds/dev-support/checkstyle/checkstyle.xml
index f20a70f..b1dfa73 100644
--- a/hadoop-hdds/dev-support/checkstyle/checkstyle.xml
+++ b/hadoop-hdds/dev-support/checkstyle/checkstyle.xml
@@ -180,6 +180,7 @@
<module name="HiddenField">
<property name="ignoreConstructorParameter" value="true"/>
<property name="ignoreSetter" value="true"/>
+ <property name="setterCanReturnItsClass" value="true"/>
</module>
<module name="IllegalInstantiation"/>
<module name="InnerAssignment"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]