aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/handlers/JavacHandlerUtil.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-07-19 23:41:44 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-07-19 23:41:44 +0200
commit734baebfa9247a9f54115dc6ccb6e9a72fe409a3 (patch)
tree07e420392b02ff68990cdb4776ae07a167140c02 /src/core/lombok/javac/handlers/JavacHandlerUtil.java
parent8c3b34e8512a35c81f9d7e762246472d29cd9dd8 (diff)
downloadlombok-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/core/lombok/javac/handlers/JavacHandlerUtil.java')
-rw-r--r--src/core/lombok/javac/handlers/JavacHandlerUtil.java1
1 files changed, 1 insertions, 0 deletions
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: