You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2019/12/28 18:34:59 UTC
[groovy] branch GROOVY_3_0_X updated: Trivial refactoring: remove
redundant modifiers
This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
new eff80d7 Trivial refactoring: remove redundant modifiers
eff80d7 is described below
commit eff80d76d672c350579ffaebbde0d9308cfa7bf9
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sun Dec 29 02:33:56 2019 +0800
Trivial refactoring: remove redundant modifiers
(cherry picked from commit ce5704be37cae9e0b906b48747f02b6cd9bfc217)
---
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 */