From aab7230471684db99ab2798c9e8a09e805e72d56 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Fri, 17 Jul 2009 19:29:40 +0200 Subject: Moved right parenthesis --- website/features/GetterSetter.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'website/features/GetterSetter.html') diff --git a/website/features/GetterSetter.html b/website/features/GetterSetter.html index d8ffbb6a..9840d3ba 100644 --- a/website/features/GetterSetter.html +++ b/website/features/GetterSetter.html @@ -16,8 +16,8 @@

Overview

You can annotate any field with @Getter and/or @Setter, to let lombok generate the default getter/setter automatically.
- A default getter simply returns the field, and is named getFoo if the field is called foo (or isFoo) - if the field's type is boolean. A default setter is named setFoo if the field is called foo, returns void, + A default getter simply returns the field, and is named getFoo if the field is called foo (or isFoo + if the field's type is boolean). A default setter is named setFoo if the field is called foo, returns void, and takes 1 parameter of the same type as the field. It simply sets the field to this value.

The generated getter/setter method will be public unless you explicitly specify an AccessLevel, as shown in the example below. -- cgit