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 2024/05/01 06:26:10 UTC
(groovy) branch master updated: Fix description of Observable example code.
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 0cead05ece Fix description of Observable example code.
0cead05ece is described below
commit 0cead05ece8176e68468445ab3b8e56698eff2f4
Author: Dean Brettle <de...@brettle.com>
AuthorDate: Tue Apr 30 21:20:38 2024 -0700
Fix description of Observable example code.
The descriptions for 2 of the references were switched.
---
src/spec/doc/core-gdk.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/spec/doc/core-gdk.adoc b/src/spec/doc/core-gdk.adoc
index 0a48c997b2..3719fa9d09 100644
--- a/src/spec/doc/core-gdk.adoc
+++ b/src/spec/doc/core-gdk.adoc
@@ -130,8 +130,8 @@ include::../test/gdk/ObservableTest.groovy[tags=observable_list,indent=0]
----
<1> Declares a `PropertyChangeEventListener` that is capturing the fired events
<2> `ObservableList.ElementEvent` and its descendant types are relevant for this listener
-<3> Registers the listener
-<4> Creates an `ObservableList` from the given list
+<3> Creates an `ObservableList` from the given list
+<4> Registers the listener
<5> Triggers an `ObservableList.ElementAddedEvent` event
[NOTE]