diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-07-19 23:41:44 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-07-19 23:41:44 +0200 |
commit | 734baebfa9247a9f54115dc6ccb6e9a72fe409a3 (patch) | |
tree | 07e420392b02ff68990cdb4776ae07a167140c02 /src | |
parent | 8c3b34e8512a35c81f9d7e762246472d29cd9dd8 (diff) | |
download | lombok-734baebfa9247a9f54115dc6ccb6e9a72fe409a3.tar.gz lombok-734baebfa9247a9f54115dc6ccb6e9a72fe409a3.tar.bz2 lombok-734baebfa9247a9f54115dc6ccb6e9a72fe409a3.zip |
[TRIVIAL] in case of bugs and we drop to toModifier() for AccessLevel.NONE, we now make a private method/constructor instead of a public one. Still not right, but less wrong than public.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java | 1 | ||||
-rw-r--r-- | src/core/lombok/javac/handlers/JavacHandlerUtil.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java b/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java index fbd63911..fc76ddc0 100644 --- a/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java +++ b/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java @@ -88,6 +88,7 @@ public class EclipseHandlerUtil { return ClassFileConstants.AccPublic; case PROTECTED: return ClassFileConstants.AccProtected; + case NONE: case PRIVATE: return ClassFileConstants.AccPrivate; } diff --git a/src/core/lombok/javac/handlers/JavacHandlerUtil.java b/src/core/lombok/javac/handlers/JavacHandlerUtil.java index ccd5647c..a4949a58 100644 --- a/src/core/lombok/javac/handlers/JavacHandlerUtil.java +++ b/src/core/lombok/javac/handlers/JavacHandlerUtil.java @@ -257,6 +257,7 @@ public class JavacHandlerUtil { default: case PUBLIC: return Flags.PUBLIC; + case NONE: case PRIVATE: return Flags.PRIVATE; case PROTECTED: |