From 0219d60ae493e5d7916d77000fa6d96eb1c7d4ba Mon Sep 17 00:00:00 2001 From: Jason Lowe Date: Fri, 6 Aug 2021 08:40:27 -0500 Subject: [PATCH] Make Java AstNode public (#8953) This makes the Java `AstNode` base class public so applications can construct an AST using a common type for all AST nodes. Authors: - Jason Lowe (https://github.com/jlowe) Approvers: - Robert (Bobby) Evans (https://github.com/revans2) URL: https://github.com/rapidsai/cudf/pull/8953 --- java/src/main/java/ai/rapids/cudf/ast/AstNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/main/java/ai/rapids/cudf/ast/AstNode.java b/java/src/main/java/ai/rapids/cudf/ast/AstNode.java index 78cf39b05d2..8160462de98 100644 --- a/java/src/main/java/ai/rapids/cudf/ast/AstNode.java +++ b/java/src/main/java/ai/rapids/cudf/ast/AstNode.java @@ -19,7 +19,7 @@ import java.nio.ByteBuffer; /** Base class of every node in an AST */ -abstract class AstNode { +public abstract class AstNode { /** * Enumeration for the types of AST nodes that can appear in a serialized AST. * NOTE: This must be kept in sync with the `jni_serialized_node_type` in CompiledExpression.cpp!