This is an automated email from the ASF dual-hosted git repository.
mbudiu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/main by this push:
new 871aa2945d [MINOR] Better message when no corresponding example
871aa2945d is described below
commit 871aa2945d8aa8ac82c71cf22543aa9094023559
Author: caicancai <[email protected]>
AuthorDate: Sun Dec 10 22:27:03 2023 +0800
[MINOR] Better message when no corresponding example
---
core/src/test/java/org/apache/calcite/examples/RelBuilderExample.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/core/src/test/java/org/apache/calcite/examples/RelBuilderExample.java
b/core/src/test/java/org/apache/calcite/examples/RelBuilderExample.java
index 43624e6059..5b4aa66339 100644
--- a/core/src/test/java/org/apache/calcite/examples/RelBuilderExample.java
+++ b/core/src/test/java/org/apache/calcite/examples/RelBuilderExample.java
@@ -66,7 +66,7 @@ public class RelBuilderExample {
case 4:
return example4(builder);
default:
- throw new AssertionError("unknown example " + i);
+ throw new AssertionError("unknown example" + i);
}
}