Repository: incubator-groovy
Updated Branches:
  refs/heads/master a6d88f6eb -> e6185f9e3


Fix typo: Missing trailing 's' in design pattern section (closes #182)

decorator is singular, thus a trailing 's' is needed


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/e6185f9e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/e6185f9e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/e6185f9e

Branch: refs/heads/master
Commit: e6185f9e33d40039c2140751ade37972046b676f
Parents: a6d88f6
Author: Dominik Fay <dominik....@gmx.de>
Authored: Sun Nov 8 03:44:56 2015 +0100
Committer: pascalschumacher <pascalschumac...@gmx.net>
Committed: Sun Nov 8 08:30:39 2015 +0100

----------------------------------------------------------------------
 src/spec/doc/design-pattern-decorator.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/e6185f9e/src/spec/doc/design-pattern-decorator.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/design-pattern-decorator.adoc 
b/src/spec/doc/design-pattern-decorator.adoc
index bc985fb..4db3aee 100644
--- a/src/spec/doc/design-pattern-decorator.adoc
+++ b/src/spec/doc/design-pattern-decorator.adoc
@@ -73,7 +73,7 @@ It takes any class and decorates it so that any `String` 
method parameter will a
 
include::{projectdir}/src/spec/test/DesignPatternsTest.groovy[tags=decorator_dynamic_behaviour_usage,indent=0]
 ----
 
-Just be careful with ordering here. The original decorators were restricted to 
decorating `Logger` objects. This decorator work with any object type, so we 
can't swap the ordering around, i.e. this won't work:
+Just be careful with ordering here. The original decorators were restricted to 
decorating `Logger` objects. This decorator works with any object type, so we 
can't swap the ordering around, i.e. this won't work:
 
 ----
 // Can't mix and match Interface-Oriented and Generic decorators

Reply via email to