You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ad...@apache.org on 2022/03/25 19:20:55 UTC

[ozone] branch master updated: HDDS-6509. Checkstyle: Enable setterCanReturnItsClass in HiddenField (#3237)

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 <ch...@kaijie.org>
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: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org