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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to