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/08 19:29:00 UTC

[jira] [Created] (HDDS-10335) Make OmKeyArgs immutable

Attila Doroszlai created HDDS-10335:
---------------------------------------

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


{code}
M V EI: org.apache.hadoop.ozone.om.helpers.OmKeyArgs.getAcls() may expose internal representation by returning OmKeyArgs.acls  At OmKeyArgs.java:[line 100]
M V EI: org.apache.hadoop.ozone.om.helpers.OmKeyArgs.getLocationInfoList() may expose internal representation by returning OmKeyArgs.locationInfoList  At OmKeyArgs.java:[line 136]
M V EI: org.apache.hadoop.ozone.om.helpers.OmKeyArgs.getMetadata() may expose internal representation by returning OmKeyArgs.metadata  At OmKeyArgs.java:[line 124]
M V EI2: org.apache.hadoop.ozone.om.helpers.OmKeyArgs.setLocationInfoList(List) may expose internal representation by storing an externally mutable object into OmKeyArgs.locationInfoList  At OmKeyArgs.java:[line 132]
M V EI2: org.apache.hadoop.ozone.om.helpers.OmKeyArgs.setMetadata(Map) may expose internal representation by storing an externally mutable object into OmKeyArgs.metadata  At OmKeyArgs.java:[line 128]
M V EI2: org.apache.hadoop.ozone.om.helpers.OmKeyArgs$Builder.setAcls(List) may expose internal representation by storing an externally mutable object into OmKeyArgs$Builder.acls  At OmKeyArgs.java:[line 266]
M V EI2: org.apache.hadoop.ozone.om.helpers.OmKeyArgs$Builder.setLocationInfoList(List) may expose internal representation by storing an externally mutable object into OmKeyArgs$Builder.locationInfoList  At OmKeyArgs.java:[line 261]
{code}



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