Skip to content

Encapsulate public mutable field in IcebergSplit#4984

Merged
rdblue merged 1 commit intoapache:masterfrom
findepi:findepi/encapsulate-public-mutable-field-in-icebergsplit-b5534e
Jun 28, 2022
Merged

Encapsulate public mutable field in IcebergSplit#4984
rdblue merged 1 commit intoapache:masterfrom
findepi:findepi/encapsulate-public-mutable-field-in-icebergsplit-b5534e

Conversation

@findepi
Copy link
Member

@findepi findepi commented Jun 7, 2022

IcebergSplit.ANYWHERE was a mutable and publicly accessible field, so
someone could modify it. The modification could also be accidental, if
someone modified the array returned from IcebergSplit.locations().

`IcebergSplit.ANYWHERE` was a mutable and publicly accessible field, so
someone could modify it. The modification could also be accidental, if
someone modified the array returned from `IcebergSplit.locations()`.
@rdblue rdblue merged commit 7a783b6 into apache:master Jun 28, 2022
@findepi findepi deleted the findepi/encapsulate-public-mutable-field-in-icebergsplit-b5534e branch June 28, 2022 09:24
@findepi
Copy link
Member Author

findepi commented Jun 28, 2022

thank you @rdblue for the merge

namrathamyske pushed a commit to namrathamyske/iceberg that referenced this pull request Jul 10, 2022
`IcebergSplit.ANYWHERE` was a mutable and publicly accessible field, so
someone could modify it. The modification could also be accidental, if
someone modified the array returned from `IcebergSplit.locations()`.
namrathamyske pushed a commit to namrathamyske/iceberg that referenced this pull request Jul 10, 2022
`IcebergSplit.ANYWHERE` was a mutable and publicly accessible field, so
someone could modify it. The modification could also be accidental, if
someone modified the array returned from `IcebergSplit.locations()`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments