Repository: groovy Updated Branches: refs/heads/GROOVY_2_4_X 68dc2d026 -> 091f10eee
typo Project: http://git-wip-us.apache.org/repos/asf/groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/091f10ee Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/091f10ee Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/091f10ee Branch: refs/heads/GROOVY_2_4_X Commit: 091f10eee842054ed6f462ceb73ae2ee2419a29e Parents: 68dc2d0 Author: paulk <[email protected]> Authored: Wed Jan 3 11:20:37 2018 +1000 Committer: paulk <[email protected]> Committed: Wed Jan 3 11:22:17 2018 +1000 ---------------------------------------------------------------------- src/spec/doc/core-object-orientation.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/groovy/blob/091f10ee/src/spec/doc/core-object-orientation.adoc ---------------------------------------------------------------------- diff --git a/src/spec/doc/core-object-orientation.adoc b/src/spec/doc/core-object-orientation.adoc index 6831763..fba8565 100644 --- a/src/spec/doc/core-object-orientation.adoc +++ b/src/spec/doc/core-object-orientation.adoc @@ -412,7 +412,7 @@ to omit the type. A property is an externally visible feature of a class. Rather than just using a public field to represent such features (which provides a more limited abstraction and would restrict refactoring possibilities), the typical convention in Java is to follow JavaBean conventions, i.e. represent the property using a -combination of a private backing field and getters/setters. Groovy follows these same convetions +combination of a private backing field and getters/setters. Groovy follows these same conventions but provides a simpler approach to defining the property. You can define a property with: * an *absent* access modifier (no `public`, `protected` or `private`)
