groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject groovy git commit: Revert immutable empty expression and statement changes
Date Sat, 24 Jun 2017 11:23:30 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X e01601ede -> 2c544f782


Revert immutable empty expression and statement changes


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

Branch: refs/heads/GROOVY_2_5_X
Commit: 2c544f7825f24cecb496a44c870c91924c39c916
Parents: e01601e
Author: sunlan <sunlan@apache.org>
Authored: Sat Jun 24 19:23:19 2017 +0800
Committer: sunlan <sunlan@apache.org>
Committed: Sat Jun 24 19:23:19 2017 +0800

----------------------------------------------------------------------
 .../org/codehaus/groovy/ast/expr/EmptyExpression.java  |  2 +-
 .../org/codehaus/groovy/ast/stmt/EmptyStatement.java   |  2 +-
 .../codehaus/groovy/ast/CodeVisitorSupportTest.groovy  |  1 -
 .../org/codehaus/groovy/ast/builder/AstAssert.groovy   | 13 -------------
 4 files changed, 2 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/2c544f78/src/main/org/codehaus/groovy/ast/expr/EmptyExpression.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/ast/expr/EmptyExpression.java b/src/main/org/codehaus/groovy/ast/expr/EmptyExpression.java
index 4de4193..cc40ad5 100644
--- a/src/main/org/codehaus/groovy/ast/expr/EmptyExpression.java
+++ b/src/main/org/codehaus/groovy/ast/expr/EmptyExpression.java
@@ -39,4 +39,4 @@ public class EmptyExpression extends Expression {
     public void visit(GroovyCodeVisitor visitor) {
         return;
     }
-}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/groovy/blob/2c544f78/src/main/org/codehaus/groovy/ast/stmt/EmptyStatement.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/ast/stmt/EmptyStatement.java b/src/main/org/codehaus/groovy/ast/stmt/EmptyStatement.java
index 3b9800d..d4b706c 100644
--- a/src/main/org/codehaus/groovy/ast/stmt/EmptyStatement.java
+++ b/src/main/org/codehaus/groovy/ast/stmt/EmptyStatement.java
@@ -36,4 +36,4 @@ public class EmptyStatement extends Statement {
         return true;
     }
 
-}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/groovy/blob/2c544f78/src/test/org/codehaus/groovy/ast/CodeVisitorSupportTest.groovy
----------------------------------------------------------------------
diff --git a/src/test/org/codehaus/groovy/ast/CodeVisitorSupportTest.groovy b/src/test/org/codehaus/groovy/ast/CodeVisitorSupportTest.groovy
index a1b351f..cc62715 100644
--- a/src/test/org/codehaus/groovy/ast/CodeVisitorSupportTest.groovy
+++ b/src/test/org/codehaus/groovy/ast/CodeVisitorSupportTest.groovy
@@ -144,4 +144,3 @@ public class CodeVisitorSupportTest extends GroovyTestCase {
     }
 
 }
-

http://git-wip-us.apache.org/repos/asf/groovy/blob/2c544f78/src/test/org/codehaus/groovy/ast/builder/AstAssert.groovy
----------------------------------------------------------------------
diff --git a/src/test/org/codehaus/groovy/ast/builder/AstAssert.groovy b/src/test/org/codehaus/groovy/ast/builder/AstAssert.groovy
index 7d6a589..88a858e 100644
--- a/src/test/org/codehaus/groovy/ast/builder/AstAssert.groovy
+++ b/src/test/org/codehaus/groovy/ast/builder/AstAssert.groovy
@@ -18,20 +18,7 @@
  */
 package org.codehaus.groovy.ast.builder
 
-import org.codehaus.groovy.ast.ASTNode
-import org.codehaus.groovy.ast.ClassNode
 import org.junit.Assert
-import org.codehaus.groovy.ast.stmt.BlockStatement
-import org.codehaus.groovy.ast.stmt.ExpressionStatement
-import org.codehaus.groovy.ast.expr.ConstantExpression
-import org.codehaus.groovy.ast.expr.DeclarationExpression
-import org.codehaus.groovy.ast.expr.VariableExpression
-import org.codehaus.groovy.ast.stmt.ReturnStatement
-import org.codehaus.groovy.ast.expr.MethodCallExpression
-import org.codehaus.groovy.ast.expr.ArgumentListExpression
-import org.codehaus.groovy.ast.expr.AnnotationConstantExpression
-import org.codehaus.groovy.ast.AnnotationNode
-import org.codehaus.groovy.ast.expr.AttributeExpression
 
 /**
  *


Mime
View raw message