[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:
Reinier Zwitserloot committed 2010-07-19 23:41:44 +02:00
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: