From f0304d58ff81bd1847995f588aab5ef9d8690a4d Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan Date: Sat, 13 Dec 2025 22:29:37 +0700 Subject: [PATCH] Fix typos and grammar Signed-off-by: Tran Ngoc Nhan --- .../ROOT/pages/core/aop/ataspectj/pointcuts.adoc | 2 +- .../core/expressions/language-ref/variables.adoc | 2 +- .../ROOT/pages/data-access/jdbc/simple.adoc | 2 +- .../modules/ROOT/pages/integration/aot-cache.adoc | 2 +- .../modules/ROOT/pages/integration/appendix.adoc | 14 +++++++------- .../pages/languages/kotlin/classes-interfaces.adoc | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/framework-docs/modules/ROOT/pages/core/aop/ataspectj/pointcuts.adoc b/framework-docs/modules/ROOT/pages/core/aop/ataspectj/pointcuts.adoc index 5dba349f913..c8e4f00cc4c 100644 --- a/framework-docs/modules/ROOT/pages/core/aop/ataspectj/pointcuts.adoc +++ b/framework-docs/modules/ROOT/pages/core/aop/ataspectj/pointcuts.adoc @@ -104,7 +104,7 @@ Note that pointcut definitions are generally matched against any intercepted met If a pointcut is strictly meant to be public-only, even in a CGLIB proxy scenario with potential non-public interactions through proxies, it needs to be defined accordingly. -If your interception needs include method calls or even constructors within the target +If your interception needs to include method calls or even constructors within the target class, consider the use of Spring-driven xref:core/aop/using-aspectj.adoc#aop-aj-ltw[native AspectJ weaving] instead of Spring's proxy-based AOP framework. This constitutes a different mode of AOP usage with different characteristics, so be sure to make yourself familiar with weaving diff --git a/framework-docs/modules/ROOT/pages/core/expressions/language-ref/variables.adoc b/framework-docs/modules/ROOT/pages/core/expressions/language-ref/variables.adoc index 70da818247c..c8f4b3cad4a 100644 --- a/framework-docs/modules/ROOT/pages/core/expressions/language-ref/variables.adoc +++ b/framework-docs/modules/ROOT/pages/core/expressions/language-ref/variables.adoc @@ -6,7 +6,7 @@ are set by using the `setVariable()` method in `EvaluationContext` implementatio [NOTE] ==== -Variable names must be begin with a letter (as defined below), an underscore, or a dollar +Variable names must be begun with a letter (as defined below), an underscore, or a dollar sign. Variable names must be composed of one or more of the following supported types of diff --git a/framework-docs/modules/ROOT/pages/data-access/jdbc/simple.adoc b/framework-docs/modules/ROOT/pages/data-access/jdbc/simple.adoc index aebbdb14049..9f24758f53d 100644 --- a/framework-docs/modules/ROOT/pages/data-access/jdbc/simple.adoc +++ b/framework-docs/modules/ROOT/pages/data-access/jdbc/simple.adoc @@ -350,7 +350,7 @@ parameters return the data read from the table. You can declare `SimpleJdbcCall` in a manner similar to declaring `SimpleJdbcInsert`. You should instantiate and configure the class in the initialization method of your data-access layer. Compared to the `StoredProcedure` class, you need not create a subclass -and you need not to declare parameters that can be looked up in the database metadata. +and you need not declare parameters that can be looked up in the database metadata. The following example of a `SimpleJdbcCall` configuration uses the preceding stored procedure (the only configuration option, in addition to the `DataSource`, is the name of the stored procedure): diff --git a/framework-docs/modules/ROOT/pages/integration/aot-cache.adoc b/framework-docs/modules/ROOT/pages/integration/aot-cache.adoc index 8ef9878fa35..aae7a1ba66c 100644 --- a/framework-docs/modules/ROOT/pages/integration/aot-cache.adoc +++ b/framework-docs/modules/ROOT/pages/integration/aot-cache.adoc @@ -7,7 +7,7 @@ The ahead-of-time cache is a JVM feature introduced in Java 24 via the https://openjdk.org/jeps/483[JEP 483] that can help reduce the startup time and memory footprint of Java applications. AOT cache is a natural evolution of https://docs.oracle.com/en/java/javase/17/vm/class-data-sharing.html[Class Data Sharing (CDS)]. Spring Framework supports both CDS and AOT cache, and it is recommended that you use the -later if available in the JVM version your are using (Java 24+). +later if available in the JVM version you are using (Java 24+). To use this feature, an AOT cache should be created for the particular classpath of the application. It is possible to create this cache on the deployed instance, or during a diff --git a/framework-docs/modules/ROOT/pages/integration/appendix.adoc b/framework-docs/modules/ROOT/pages/integration/appendix.adoc index 78f99fc50ba..391232b7882 100644 --- a/framework-docs/modules/ROOT/pages/integration/appendix.adoc +++ b/framework-docs/modules/ROOT/pages/integration/appendix.adoc @@ -172,7 +172,7 @@ different properties with `jee`: The `` element configures a reference to a local EJB Stateless Session Bean. -The following example shows how to configures a reference to a local EJB Stateless Session Bean +The following example shows how to configure a reference to a local EJB Stateless Session Bean without `jee`: [source,xml,indent=0,subs="verbatim,quotes"] @@ -184,7 +184,7 @@ without `jee`: ---- -The following example shows how to configures a reference to a local EJB Stateless Session Bean +The following example shows how to configure a reference to a local EJB Stateless Session Bean with `jee`: [source,xml,indent=0,subs="verbatim,quotes"] @@ -200,7 +200,7 @@ with `jee`: The `` element configures a reference to a local EJB Stateless Session Bean. -The following example shows how to configures a reference to a local EJB Stateless Session Bean +The following example shows how to configure a reference to a local EJB Stateless Session Bean and a number of properties without `jee`: [source,xml,indent=0,subs="verbatim,quotes"] @@ -215,7 +215,7 @@ and a number of properties without `jee`: ---- -The following example shows how to configures a reference to a local EJB Stateless Session Bean +The following example shows how to configure a reference to a local EJB Stateless Session Bean and a number of properties with `jee`: [source,xml,indent=0,subs="verbatim,quotes"] @@ -234,7 +234,7 @@ and a number of properties with `jee`: The `` element configures a reference to a `remote` EJB Stateless Session Bean. -The following example shows how to configures a reference to a remote EJB Stateless Session Bean +The following example shows how to configure a reference to a remote EJB Stateless Session Bean without `jee`: [source,xml,indent=0,subs="verbatim,quotes"] @@ -251,7 +251,7 @@ without `jee`: ---- -The following example shows how to configures a reference to a remote EJB Stateless Session Bean +The following example shows how to configure a reference to a remote EJB Stateless Session Bean with `jee`: [source,xml,indent=0,subs="verbatim,quotes"] @@ -313,7 +313,7 @@ xref:integration/jmx/naming.adoc#jmx-context-mbeanexport[Configuring Annotation- === The `cache` Schema You can use the `cache` elements to enable support for Spring's `@CacheEvict`, `@CachePut`, -and `@Caching` annotations. It it also supports declarative XML-based caching. See +and `@Caching` annotations. It is also supports declarative XML-based caching. See xref:integration/cache/annotations.adoc#cache-annotation-enable[Enabling Caching Annotations] and xref:integration/cache/declarative-xml.adoc[Declarative XML-based Caching] for details. diff --git a/framework-docs/modules/ROOT/pages/languages/kotlin/classes-interfaces.adoc b/framework-docs/modules/ROOT/pages/languages/kotlin/classes-interfaces.adoc index 04cd2c8180d..f1bbd163be3 100644 --- a/framework-docs/modules/ROOT/pages/languages/kotlin/classes-interfaces.adoc +++ b/framework-docs/modules/ROOT/pages/languages/kotlin/classes-interfaces.adoc @@ -13,4 +13,4 @@ running the Kotlin compiler with its `-java-parameters` flag for standard Java p You can declare configuration classes as {kotlin-docs}/nested-classes.html[top level or nested but not inner], -since the later requires a reference to the outer class. +since the latter requires a reference to the outer class.