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/10/29 06:20:49 UTC

[groovy] 07/09: minor tweak to doco

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

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

commit ac423cd240f221dc278cc2c6ac04e0f529783459
Author: Paul King <pa...@asert.com.au>
AuthorDate: Wed Oct 19 12:19:18 2022 +1000

    minor tweak to doco
---
 subprojects/groovy-jmx/src/spec/doc/jmx.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/subprojects/groovy-jmx/src/spec/doc/jmx.adoc b/subprojects/groovy-jmx/src/spec/doc/jmx.adoc
index df1fe88fb3..ad695ba106 100644
--- a/subprojects/groovy-jmx/src/spec/doc/jmx.adoc
+++ b/subprojects/groovy-jmx/src/spec/doc/jmx.adoc
@@ -981,8 +981,8 @@ include::../test/JmxTest.groovy[tags=listener_mbean,indent=0]
 
 In the sample above, we see the **syntax for adding listeners to an exported MBean**.
 
-- Fist, a **timer is exported** and started.
-- Then an **MBean is declared that will listen to the timer** event and do something meaningful.
+- First, a **timer is exported** and started.
+- Then, an **MBean is declared that will listen to the timer** event and do something meaningful.
 - The **"heartbeat:"** name is arbitrary and has no correlation to the timer declared above.
 - The **source** of the event **is specified using the "from:" attribute**.
 
@@ -1005,7 +1005,7 @@ jmx.listener(
 Here is the description of the **listener()** node attributes:
 
 - event: An optional string that identifies the JMX event type to listen for.
-- from (required): The JMX ObjectName of the component to listen to. This can be specified as a string or an instance of ObjectName
+- from (required): The JMX ObjectName of the component to listen to. This can be specified as a string or an instance of ObjectName.
 - call: The closure to execute when the event is captured. This can also be specified as a Groovy method pointer.
 
 Here is an example of JmxBuilder's listener node: