Author: ebourg Date: Sat Mar 25 00:12:47 2017 New Revision: 1788578 URL: http://svn.apache.org/viewvc?rev=1788578&view=rev Log: Inner enums are implicitly static (more)
Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/TemplateEngine.java commons/proper/jexl/trunk/src/test/java/org/apache/commons/jexl3/PublicFieldsTest.java Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/TemplateEngine.java URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/TemplateEngine.java?rev=1788578&r1=1788577&r2=1788578&view=diff ============================================================================== --- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/TemplateEngine.java (original) +++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/TemplateEngine.java Sat Mar 25 00:12:47 2017 @@ -86,7 +86,7 @@ public final class TemplateEngine extend * Each instance carries a counter index per (composite sub-) template expression type. * @see ExpressionBuilder */ - static enum ExpressionType { + enum ExpressionType { /** Constant TemplateExpression, count index 0. */ CONSTANT(0), /** Immediate TemplateExpression, count index 1. */ Modified: commons/proper/jexl/trunk/src/test/java/org/apache/commons/jexl3/PublicFieldsTest.java URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/test/java/org/apache/commons/jexl3/PublicFieldsTest.java?rev=1788578&r1=1788577&r2=1788578&view=diff ============================================================================== --- commons/proper/jexl/trunk/src/test/java/org/apache/commons/jexl3/PublicFieldsTest.java (original) +++ commons/proper/jexl/trunk/src/test/java/org/apache/commons/jexl3/PublicFieldsTest.java Sat Mar 25 00:12:47 2017 @@ -123,7 +123,7 @@ public class PublicFieldsTest extends Je } catch(JexlException xjexl) {} } - public static enum Gender { MALE, FEMALE }; + public enum Gender { MALE, FEMALE }; @Test public void testGetEnum() throws Exception { ctxt.set("com.jexl.gender", Gender.class);