You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by fo...@apache.org on 2022/08/25 13:23:08 UTC
[iceberg] 01/01: Docs: Switch post- and pre- around
This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch fd-fix-javadoc
in repository https://gitbox.apache.org/repos/asf/iceberg.git
commit 12a186abcaef6b765b3e242d95f8be8a2e6f8f49
Author: Fokko Driesprong <fo...@apache.org>
AuthorDate: Thu Aug 25 15:23:00 2022 +0200
Docs: Switch post- and pre- around
I believe this should be the other way around.
---
api/src/main/java/org/apache/iceberg/types/TypeUtil.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/api/src/main/java/org/apache/iceberg/types/TypeUtil.java b/api/src/main/java/org/apache/iceberg/types/TypeUtil.java
index 9acc2afc29..9e2414d449 100644
--- a/api/src/main/java/org/apache/iceberg/types/TypeUtil.java
+++ b/api/src/main/java/org/apache/iceberg/types/TypeUtil.java
@@ -601,13 +601,13 @@ public class TypeUtil {
}
/**
- * Used to traverse types with traversals other than pre-order.
+ * Used to traverse types with traversals other than post-order.
*
* <p>This passes a {@link Supplier} to each {@link CustomOrderSchemaVisitor visitor} method that
* returns the result of traversing child types. Structs are passed an {@link Iterable} that
* traverses child fields during iteration.
*
- * <p>An example use is assigning column IDs, which should be done with a post-order traversal.
+ * <p>An example use is assigning column IDs, which should be done with a pre-order traversal.
*
* @param type a type to traverse with a visitor
* @param visitor a custom order visitor