asfgit closed pull request #842: Fix typo URL: https://github.com/apache/groovy/pull/842
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/src/spec/doc/design-pattern-composite.adoc b/src/spec/doc/design-pattern-composite.adoc index e3074312c0..32ce50e856 100644 --- a/src/spec/doc/design-pattern-composite.adoc +++ b/src/spec/doc/design-pattern-composite.adoc @@ -29,7 +29,7 @@ Consider this usage of the composite pattern where we want to call `toString()` image::assets/img/CompositeClasses.gif[] -In Java, the `Component` class is essential as it provides the type used for both leaf and composite nodes. In Groovy, because of duck-typing, we don't need it for that purpose, however, it can still server as a useful place to place common behaviour between the leaf and composite nodes. +In Java, the `Component` class is essential as it provides the type used for both leaf and composite nodes. In Groovy, because of duck-typing, we don't need it for that purpose, however, it can still serve as a useful place to place common behaviour between the leaf and composite nodes. For our purposes, we will assemble the following hierarchy of components. diff --git a/subprojects/groovy-jmx/src/spec/doc/jmx.adoc b/subprojects/groovy-jmx/src/spec/doc/jmx.adoc index 5c748c6993..935e33ab1b 100644 --- a/subprojects/groovy-jmx/src/spec/doc/jmx.adoc +++ b/subprojects/groovy-jmx/src/spec/doc/jmx.adoc @@ -712,7 +712,7 @@ JmxBuilder **supports the explicit description and export of constructors** defi ==== Export all Constructors with "*" -You can use the builder's special '""' **notation to *export all constructors** declared on the underlying bean. The builder will use default values to describe the MBean constructors. +You can use the builder's special "*" **notation to export all constructors** declared on the underlying bean. The builder will use default values to describe the MBean constructors. [source,groovy] ---- @@ -747,7 +747,7 @@ Similar to constructors, JmxBuilder supports the description and export of MBean ==== Export All Operations with "*" -You can use the builder's special '""'' **notation to *export all operations** defined on the bean to be exposed for management. The builder will use default descriptor values for the operations being exported. +You can use the builder's special "*" **notation to export all operations** defined on the bean to be exposed for management. The builder will use default descriptor values for the operations being exported. [source,groovy] ---- ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services