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


##########
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:
   This should still be using MAX_FORMAT_VERSION and RANGE, the point here is 
to avoid having to change this and MAX_FORMAT_VERSION



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