nastra commented on code in PR #16881:
URL: https://github.com/apache/iceberg/pull/16881#discussion_r3450272024
##########
core/src/main/java/org/apache/iceberg/BaseFile.java:
##########
@@ -316,79 +316,102 @@ public void put(int i, Object value) {
@Override
protected <T> void internalSet(int pos, T value) {
switch (pos) {
- case 0:
+ case 0 -> {
this.content = value != null ? FileContent.fromId((Integer) value) :
FileContent.DATA;
return;
Review Comment:
all of these return statements can be removed now. Please also address the
same thing in other places that were updated
--
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]