nastra commented on code in PR #16881:
URL: https://github.com/apache/iceberg/pull/16881#discussion_r3450308876


##########
core/src/main/java/org/apache/iceberg/V1Metadata.java:
##########
@@ -267,18 +254,20 @@ public <T> T get(int pos, Class<T> javaClass) {
 
     private Object get(int pos) {
       switch (pos) {
-        case 0:
+        case 0 -> {

Review Comment:
   I think  { isn't needed here anywhere, right?



##########
core/src/main/java/org/apache/iceberg/V1Metadata.java:
##########
@@ -365,36 +354,51 @@ public <T> T get(int pos, Class<T> javaClass) {
 
     private Object get(int pos) {
       switch (pos) {
-        case 0:
+        case 0 -> {

Review Comment:
   same as above



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

Reply via email to