Repository: groovy
Updated Branches:
  refs/heads/master 45448c53b -> daadd6eb4


Trivial refactoring: remove redundant character escape


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/daadd6eb
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/daadd6eb
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/daadd6eb

Branch: refs/heads/master
Commit: daadd6eb4d94435fbe6079b213c8268dad7bbc96
Parents: 45448c5
Author: danielsun1106 <realblue...@hotmail.com>
Authored: Tue Feb 20 03:19:29 2018 +0800
Committer: danielsun1106 <realblue...@hotmail.com>
Committed: Tue Feb 20 03:19:29 2018 +0800

----------------------------------------------------------------------
 src/main/java/org/codehaus/groovy/classgen/Verifier.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/daadd6eb/src/main/java/org/codehaus/groovy/classgen/Verifier.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/codehaus/groovy/classgen/Verifier.java 
b/src/main/java/org/codehaus/groovy/classgen/Verifier.java
index aad5940..2e5c851 100644
--- a/src/main/java/org/codehaus/groovy/classgen/Verifier.java
+++ b/src/main/java/org/codehaus/groovy/classgen/Verifier.java
@@ -364,7 +364,7 @@ public class Verifier implements GroovyClassVisitor, 
Opcodes {
                         if (BytecodeHelper.isClassLiteralPossible(node) || 
BytecodeHelper.isSameCompilationUnit(classNode, node)) {
                             BytecodeHelper.visitClassLiteral(mv, node);
                         } else {
-                            mv.visitMethodInsn(INVOKESTATIC, 
classInternalName, "$get$$class$" + classInternalName.replaceAll("\\/", "\\$"), 
"()Ljava/lang/Class;", false);
+                            mv.visitMethodInsn(INVOKESTATIC, 
classInternalName, "$get$$class$" + classInternalName.replaceAll("/", "\\$"), 
"()Ljava/lang/Class;", false);
                         }
                         Label l1 = new Label();
                         mv.visitJumpInsn(IF_ACMPEQ, l1);

Reply via email to