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

zhenchen pushed a commit to branch revert-4501-calcite-7141
in repository https://gitbox.apache.org/repos/asf/calcite.git

commit 8c755fc6556fbdec1ae0f589400fa126df3c297e
Author: Zhen Chen <[email protected]>
AuthorDate: Sat Sep 6 19:58:47 2025 +0800

    Revert "Cosmetics"
    
    This reverts commit ab327d73a839eefafc5513af274995ef74ad89a8.
---
 core/src/main/java/org/apache/calcite/sql/type/FunctionSqlType.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/core/src/main/java/org/apache/calcite/sql/type/FunctionSqlType.java 
b/core/src/main/java/org/apache/calcite/sql/type/FunctionSqlType.java
index 24491a8e21..b71dbe1ef2 100644
--- a/core/src/main/java/org/apache/calcite/sql/type/FunctionSqlType.java
+++ b/core/src/main/java/org/apache/calcite/sql/type/FunctionSqlType.java
@@ -25,8 +25,7 @@
 
 /**
  * Function type.
- *
- * <p>The type of lambda expression can be represented by a function type.
+ * The type of lambda expression can be represented by a function type.
  */
 public class FunctionSqlType extends AbstractSqlType {
   private final RelDataType parameterType;
@@ -37,7 +36,7 @@ public FunctionSqlType(
     super(SqlTypeName.FUNCTION, true, null);
     this.parameterType = requireNonNull(parameterType, "parameterType");
     if (!parameterType.isStruct()) {
-      throw new IllegalArgumentException("parameterType must be a struct");
+      throw new IllegalArgumentException("paramType must be a struct");
     }
     this.returnType = requireNonNull(returnType, "returnType");
     computeDigest();

Reply via email to