mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 22:16:11 +00:00
[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.
This commit is contained in:
1 parent
8c3b34e851
commit
734baebfa9
2 files changed
+2
No files matched your search
@@ -88,6 +88,7 @@ public class EclipseHandlerUtil {
|
||||
return ClassFileConstants.AccPublic;
|
||||
case PROTECTED:
|
||||
return ClassFileConstants.AccProtected;
|
||||
case NONE:
|
||||
case PRIVATE:
|
||||
return ClassFileConstants.AccPrivate;
|
||||
}
|
||||
|
||||
@@ -257,6 +257,7 @@ public class JavacHandlerUtil {
|
||||
default:
|
||||
case PUBLIC:
|
||||
return Flags.PUBLIC;
|
||||
case NONE:
|
||||
case PRIVATE:
|
||||
return Flags.PRIVATE;
|
||||
case PROTECTED:
|
||||
|
||||
Reference in new issue
Block a user