nastra commented on code in PR #5368:
URL: https://github.com/apache/iceberg/pull/5368#discussion_r931809349
##########
aws/src/integration/java/org/apache/iceberg/aws/lakeformation/TestLakeFormationMetadataOperations.java:
##########
@@ -241,7 +241,7 @@ public void testAlterTableSetPropertiesNoDataPathAccess() {
AssertHelpers.assertThrows("attempt to alter a table without ALTER
permission should fail",
ForbiddenException.class,
"Glue cannot access the requested resources",
- () -> updateProperties.commit());
Review Comment:
```
/...iceberg/aws/src/integration/java/org/apache/iceberg/aws/lakeformation/TestLakeFormationMetadataOperations.java:244:
warning: [LambdaMethodReference] Lambda should be a method reference
() -> updateProperties.commit());
^
(see
https://github.com/palantir/gradle-baseline#baseline-error-prone-checks)
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]