diff options
author | Roel Spilker <r.spilker@gmail.com> | 2012-07-02 21:52:51 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2012-07-02 21:52:51 +0200 |
commit | 5739ffb0d5d4c8a327aa2ca8a45fbd614a19e152 (patch) | |
tree | 301a1194af2f3b875daf603af950a23f65fd09f4 /src/core/lombok | |
parent | 1b7d7598a191527d9a84bebfb6e42b4d654f9e79 (diff) | |
download | lombok-5739ffb0d5d4c8a327aa2ca8a45fbd614a19e152.tar.gz lombok-5739ffb0d5d4c8a327aa2ca8a45fbd614a19e152.tar.bz2 lombok-5739ffb0d5d4c8a327aa2ca8a45fbd614a19e152.zip |
Fixed issue 374: updated documentation about case insensitive checking for existing methods.
Diffstat (limited to 'src/core/lombok')
-rw-r--r-- | src/core/lombok/Getter.java | 6 | ||||
-rw-r--r-- | src/core/lombok/Setter.java | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/core/lombok/Getter.java b/src/core/lombok/Getter.java index c812d824..86e14b93 100644 --- a/src/core/lombok/Getter.java +++ b/src/core/lombok/Getter.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2010 The Project Lombok Authors. + * Copyright (C) 2009-2012 The Project Lombok Authors. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -45,8 +45,8 @@ import java.lang.annotation.Target; * Note that fields of type {@code boolean} (but not {@code java.lang.Boolean}) will result in an * {@code isFoo} name instead of {@code getFoo}. * <p> - * If any method named {@code getFoo}/{@code isFoo} exists, regardless of return type or parameters, no method is generated, - * and instead a compiler warning is emitted. + * If any method named {@code getFoo}/{@code isFoo} (case insensitive) exists, regardless of return type or parameters, + * no method is generated, and instead a compiler warning is emitted. * <p> * This annotation can also be applied to a class, in which case it'll be as if all non-static fields that don't already have * a {@code @Getter} annotation have the annotation. diff --git a/src/core/lombok/Setter.java b/src/core/lombok/Setter.java index ed4c146c..a7318259 100644 --- a/src/core/lombok/Setter.java +++ b/src/core/lombok/Setter.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2010 The Project Lombok Authors. + * Copyright (C) 2009-2012 The Project Lombok Authors. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -42,8 +42,8 @@ import java.lang.annotation.Target; * } * </pre> * - * If any method named {@code setFoo} exists, regardless of return type or parameters, no method is generated, - * and instead a compiler warning is emitted. + * If any method named {@code setFoo} (case insensitive) exists, regardless of return type or parameters, + * no method is generated, and instead a compiler warning is emitted. * <p> * This annotation can also be applied to a class, in which case it'll be as if all non-static fields that don't already have * a {@code Setter} annotation have the annotation. |