You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/03/25 06:55:00 UTC
[jira] [Updated] (HDDS-6509) Checkstyle: Enable setterCanReturnItsClass in HiddenField
[ https://issues.apache.org/jira/browse/HDDS-6509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-6509:
---------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Minor
> Labels: pull-request-available
>
> 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