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

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

commit ab327d73a839eefafc5513af274995ef74ad89a8
Author: Michal Stutzmann <[email protected]>
AuthorDate: Sat Aug 23 16:10:32 2025 +0200

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

Reply via email to