You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2022/07/14 08:34:45 UTC
[groovy] branch GROOVY_3_0_X updated: fix typo which will impact later JDKs
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
new 2d5845a39d fix typo which will impact later JDKs
2d5845a39d is described below
commit 2d5845a39dacfc20bf527f93fd3b11973e112466
Author: Paul King <pa...@asert.com.au>
AuthorDate: Thu Jul 14 18:32:03 2022 +1000
fix typo which will impact later JDKs
---
.../src/main/resources/groovy/console/ui/AstBrowserProperties.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subprojects/groovy-console/src/main/resources/groovy/console/ui/AstBrowserProperties.groovy b/subprojects/groovy-console/src/main/resources/groovy/console/ui/AstBrowserProperties.groovy
index 2866d30aad..ffb03d0945 100644
--- a/subprojects/groovy-console/src/main/resources/groovy/console/ui/AstBrowserProperties.groovy
+++ b/subprojects/groovy-console/src/main/resources/groovy/console/ui/AstBrowserProperties.groovy
@@ -36,7 +36,7 @@ org {
BlockStatement = "BlockStatement - (\${expression.statements ? expression.statements.size() : 0})"
ExpressionStatement = "ExpressionStatement - \${expression?.expression.getClass().simpleName}"
ReturnStatement = "ReturnStatement - \$expression.text"
- TryCatchStatement = "TryCatchStatement - \${expression.catchStatements?.size ?: 0} catch, \${expression.finallyStatement ? 1 : 0} finally"
+ TryCatchStatement = "TryCatchStatement - \${expression.catchStatements?.size() ?: 0} catch, \${expression.finallyStatement ? 1 : 0} finally"
CatchStatement = "CatchStatement - \$expression.exceptionType]"
}
expr {