This is an automated email from the ASF dual-hosted git repository.

russellspitzer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/main by this push:
     new 3c46178855 Core: Make new TableMetadata.Builder constructor private 
(#10714)
3c46178855 is described below

commit 3c46178855ecec864e1ea9ff67392c0c96d49e0d
Author: Amogh Jahagirdar <[email protected]>
AuthorDate: Wed Jul 17 14:14:43 2024 -0600

    Core: Make new TableMetadata.Builder constructor private (#10714)
---
 core/src/main/java/org/apache/iceberg/TableMetadata.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/iceberg/TableMetadata.java 
b/core/src/main/java/org/apache/iceberg/TableMetadata.java
index e8dcfc85fb..74b8ad0bbd 100644
--- a/core/src/main/java/org/apache/iceberg/TableMetadata.java
+++ b/core/src/main/java/org/apache/iceberg/TableMetadata.java
@@ -910,7 +910,7 @@ public class TableMetadata implements Serializable {
       this(DEFAULT_TABLE_FORMAT_VERSION);
     }
 
-    public Builder(int formatVersion) {
+    private Builder(int formatVersion) {
       this.base = null;
       this.formatVersion = formatVersion;
       this.lastSequenceNumber = INITIAL_SEQUENCE_NUMBER;

Reply via email to