RussellSpitzer commented on code in PR #12748:
URL: https://github.com/apache/iceberg/pull/12748#discussion_r2047679733


##########
api/src/test/java/org/apache/iceberg/TestHelpers.java:
##########
@@ -54,7 +54,7 @@ public class TestHelpers {
   private TestHelpers() {}
 
   public static final int MAX_FORMAT_VERSION = 3;
-  public static final int[] ALL_VERSIONS = IntStream.rangeClosed(1, 
MAX_FORMAT_VERSION).toArray();
+  public static final List<Integer> ALL_VERSIONS = List.of(1, 2, 3);

Review Comment:
   We could use another construct as well, but I want to make sure that when we 
change MAX_FORMAT_VERSION we change ALL_VERSIONS



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to