You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2024/02/06 18:49:00 UTC

[jira] [Created] (HDDS-10317) Make OmBucketInfo immutable

Attila Doroszlai created HDDS-10317:
---------------------------------------

             Summary: Make OmBucketInfo immutable
                 Key: HDDS-10317
                 URL: https://issues.apache.org/jira/browse/HDDS-10317
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: Ozone Manager
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


{code}
M V EI: org.apache.hadoop.ozone.om.response.bucket.OMBucketCreateResponse.getOmBucketInfo() may expose internal representation by returning OMBucketCreateResponse.omBucketInfo  At OMBucketCreateResponse.java:[line 91]
M V EI2: new org.apache.hadoop.ozone.om.response.bucket.OMBucketCreateResponse(OzoneManagerProtocolProtos$OMResponse, OmBucketInfo) may expose internal representation by storing an externally mutable object into OMBucketCreateResponse.omBucketInfo  At OMBucketCreateResponse.java:[line 57]
{code}

and similar warning for other response classes



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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