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 2019/08/20 08:55:20 UTC

[groovy] 03/03: GROOVY-9231: typo in package name for TypeChecked in semantics adoc

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

paulk pushed a commit to branch GROOVY_2_5_X
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit fd1f9d6435911c931db810b82684089a1ad33b0e
Author: Paul King <pa...@asert.com.au>
AuthorDate: Tue Aug 20 18:50:52 2019 +1000

    GROOVY-9231: typo in package name for TypeChecked in semantics adoc
---
 src/spec/doc/core-semantics.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/spec/doc/core-semantics.adoc b/src/spec/doc/core-semantics.adoc
index 1fef521..7c2d562 100644
--- a/src/spec/doc/core-semantics.adoc
+++ b/src/spec/doc/core-semantics.adoc
@@ -939,7 +939,7 @@ manual.
 However, if your program doesn't rely on dynamic features and that you come from the static world (in particular, from
 a Java mindset), not catching such "errors" at compile time can be surprising. As we have seen in the previous example,
 the compiler cannot be sure this is an error. To make it aware that it is, you have to explicitly instruct the compiler
-that you are switching to a type checked mode. This can be done by annotating a class or a method with `@groovy.lang.TypeChecked`.
+that you are switching to a type checked mode. This can be done by annotating a class or a method with `@groovy.transform.TypeChecked`.
 
 When type checking is activated, the compiler performs much more work:
 
@@ -956,7 +956,7 @@ In this section, we will describe the behavior of the type checker in various si
 
 ===== Activating type checking at compile time
 
-The `groovy.lang.TypeChecked` annotation enabled type checking. It can be placed on a class:
+The `groovy.transform.TypeChecked` annotation enables type checking. It can be placed on a class:
 
 [source,groovy]
 ----