eric-maynard commented on PR #1596:
URL: https://github.com/apache/polaris/pull/1596#issuecomment-2897502636
@fabio-rizzo-01 the example you gave is a good one; my point is you could
reduce that change to only this line:
```
securableEntity.setGrantRecordsVersion(securableEntity.getGrantRecordsVersion()
+ 1);
```
Which could become like:
```
securableEntity =
securableEntity.withGrantRecordsVersion(securableEntity.getGrantRecordsVersion()
+ 1)
```
(Or we could make `securableEntity` final and make a new variable, but the
code change required to 'update' `grantRecordsVersion` remains smaller)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]