[ 
https://issues.apache.org/jira/browse/HDDS-10322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai updated HDDS-10322:
------------------------------------
    Parent Issue: HDDS-10519  (was: HDDS-10150)

> Make VolumeArgs immutable
> -------------------------
>
>                 Key: HDDS-10322
>                 URL: https://issues.apache.org/jira/browse/HDDS-10322
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Client
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.5.0
>
>
> {code}
> M V EI: org.apache.hadoop.ozone.client.VolumeArgs.getAcls() may expose 
> internal representation by returning VolumeArgs.acls  At 
> VolumeArgs.java:[line 107]
> M V EI: org.apache.hadoop.ozone.client.VolumeArgs.getMetadata() may expose 
> internal representation by returning VolumeArgs.metadata  At 
> VolumeArgs.java:[line 103]
> M V EI2: org.apache.hadoop.ozone.client.VolumeArgs$Builder.setAcls(List) may 
> expose internal representation by storing an externally mutable object into 
> VolumeArgs$Builder.listOfAcls  At VolumeArgs.java:[line 165]
> {code}



--
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