You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by pa...@apache.org on 2015/06/04 02:50:45 UTC
[1/2] incubator-groovy git commit: GROOVY-7453: CompileStatic
annotation should not support package target
Repository: incubator-groovy
Updated Branches:
refs/heads/GROOVY_2_4_X 6da982557 -> 43a3e4969
GROOVY-7453: CompileStatic annotation should not support package target
Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/43a3e496
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/43a3e496
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/43a3e496
Branch: refs/heads/GROOVY_2_4_X
Commit: 43a3e4969cd801d17ff641c5efb8d2559be4a3fe
Parents: c1c88a5
Author: Paul King <pa...@asert.com.au>
Authored: Thu Jun 4 10:21:15 2015 +1000
Committer: Paul King <pa...@asert.com.au>
Committed: Thu Jun 4 10:25:21 2015 +1000
----------------------------------------------------------------------
src/main/groovy/transform/CompileStatic.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/43a3e496/src/main/groovy/transform/CompileStatic.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/transform/CompileStatic.java b/src/main/groovy/transform/CompileStatic.java
index a35e840..2f68f96 100644
--- a/src/main/groovy/transform/CompileStatic.java
+++ b/src/main/groovy/transform/CompileStatic.java
@@ -44,8 +44,7 @@ import java.lang.annotation.*;
@Documented
@Retention(RetentionPolicy.SOURCE)
@Target({ ElementType.METHOD, ElementType.TYPE,
- ElementType.CONSTRUCTOR, ElementType.FIELD,
- ElementType.LOCAL_VARIABLE, ElementType.PACKAGE
+ ElementType.CONSTRUCTOR
})
@GroovyASTTransformationClass("org.codehaus.groovy.transform.sc.StaticCompileTransformation")
public @interface CompileStatic {
[2/2] incubator-groovy git commit: Remove unused imports from
DOMCategory.
Posted by pa...@apache.org.
Remove unused imports from DOMCategory.
Testing the waters for committer access.
Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/c1c88a5b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/c1c88a5b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/c1c88a5b
Branch: refs/heads/GROOVY_2_4_X
Commit: c1c88a5b1a6b070ba101804a84a7a9a7fca977ee
Parents: 6da9825
Author: aalmiray <aa...@gmail.com>
Authored: Wed Jun 3 10:57:53 2015 +0200
Committer: Paul King <pa...@asert.com.au>
Committed: Thu Jun 4 10:25:21 2015 +1000
----------------------------------------------------------------------
.../groovy-xml/src/main/java/groovy/xml/dom/DOMCategory.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/c1c88a5b/subprojects/groovy-xml/src/main/java/groovy/xml/dom/DOMCategory.java
----------------------------------------------------------------------
diff --git a/subprojects/groovy-xml/src/main/java/groovy/xml/dom/DOMCategory.java b/subprojects/groovy-xml/src/main/java/groovy/xml/dom/DOMCategory.java
index 8447ce0..9d9f8a2 100644
--- a/subprojects/groovy-xml/src/main/java/groovy/xml/dom/DOMCategory.java
+++ b/subprojects/groovy-xml/src/main/java/groovy/xml/dom/DOMCategory.java
@@ -37,7 +37,6 @@ import javax.xml.xpath.XPath;
import javax.xml.xpath.XPathExpressionException;
import javax.xml.xpath.XPathFactory;
import java.util.ArrayList;
-import java.util.Arrays;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
@@ -584,4 +583,4 @@ public class DOMCategory {
return nodes.get(index);
}
}
-}
\ No newline at end of file
+}