You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Kaijie Chen (Jira)" <ji...@apache.org> on 2022/03/25 06:48:00 UTC

[jira] [Created] (HDDS-6509) Checkstyle: Enable setterCanReturnItsClass in HiddenField

Kaijie Chen created HDDS-6509:
---------------------------------

             Summary: Checkstyle: Enable setterCanReturnItsClass in HiddenField
                 Key: HDDS-6509
                 URL: https://issues.apache.org/jira/browse/HDDS-6509
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Kaijie Chen
            Assignee: Kaijie Chen


Enable setterCanReturnItsClass in checkstyle HiddenField so it will not yield 'fieldName' hides a field error in Builders.

For example:
{code:java}
public Builder setVolumeName(String volumeName) { // not allowed before
  this.volumeName = volumeName;
  return this;
} {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org