groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject [groovy] branch master updated: Trivial refactoring: remove redundant modifiers
Date Sat, 28 Dec 2019 18:34:15 GMT
This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new ce5704b  Trivial refactoring: remove redundant modifiers
ce5704b is described below

commit ce5704be37cae9e0b906b48747f02b6cd9bfc217
Author: Daniel Sun <sunlan@apache.org>
AuthorDate: Sun Dec 29 02:33:56 2019 +0800

    Trivial refactoring: remove redundant modifiers
---
 src/main/java/org/codehaus/groovy/vmplugin/v7/IndyInterface.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/codehaus/groovy/vmplugin/v7/IndyInterface.java b/src/main/java/org/codehaus/groovy/vmplugin/v7/IndyInterface.java
index 3cbfad3..866b45e 100644
--- a/src/main/java/org/codehaus/groovy/vmplugin/v7/IndyInterface.java
+++ b/src/main/java/org/codehaus/groovy/vmplugin/v7/IndyInterface.java
@@ -52,7 +52,7 @@ public class IndyInterface {
         /**
          * Enum for easy differentiation between call types
          */
-        public static enum CALL_TYPES {
+        public enum CALL_TYPES {
             /**Method invocation type*/         METHOD("invoke"), 
             /**Constructor invocation type*/    INIT("init"), 
             /**Get property invocation type*/   GET("getProperty"), 
@@ -60,7 +60,7 @@ public class IndyInterface {
             /**Cast invocation type*/           CAST("cast");
             /**The name of the call site type*/
             private final String name;
-            private CALL_TYPES(String callSiteName) {
+            CALL_TYPES(String callSiteName) {
                 this.name = callSiteName;
             }
             /** Returns the name of the call site type */


Mime
View raw message