You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2016/08/09 08:24:20 UTC
groovy git commit: remove some outdates/duplicate class headers
Repository: groovy
Updated Branches:
refs/heads/master a1eb2ae58 -> 1667899cb
remove some outdates/duplicate class headers
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/1667899c
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/1667899c
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/1667899c
Branch: refs/heads/master
Commit: 1667899cbc04e74073a9576b06f643f7e49d8c98
Parents: a1eb2ae
Author: paulk <pa...@asert.com.au>
Authored: Tue Aug 9 18:24:10 2016 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Tue Aug 9 18:24:10 2016 +1000
----------------------------------------------------------------------
gradle/filter.gradle | 16 ----------------
src/examples/swing/RegexCoach.groovy | 1 -
src/examples/swing/RegexCoachController.groovy | 2 --
src/spec/test-resources/beforevisitclass.groovy | 16 ----------------
src/spec/test/CustomizersTest.groovy | 17 -----------------
src/spec/test/DelegatesToSpecTest.groovy | 16 ----------------
src/spec/test/TraitsSpecificationTest.groovy | 16 ----------------
src/spec/test/gdk/ConfigSlurperTest.groovy | 15 ---------------
src/spec/test/gdk/ExpandoTest.groovy | 16 ----------------
src/spec/test/gdk/ObservableTest.groovy | 16 ----------------
src/test/gls/ch06/s05/JName1Test.java | 19 -------------------
src/test/gls/ch06/s05/testClasses/Tt1.java | 19 -------------------
.../src/spec/test/MyTemplate.groovy | 16 ----------------
13 files changed, 185 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/1667899c/gradle/filter.gradle
----------------------------------------------------------------------
diff --git a/gradle/filter.gradle b/gradle/filter.gradle
index 5d104f2..a440d37 100644
--- a/gradle/filter.gradle
+++ b/gradle/filter.gradle
@@ -18,22 +18,6 @@
*/
import java.text.SimpleDateFormat
-/*
-* Copyright 2008-2012 the original author or authors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
ext.buildTime = new Date()
ext.propertiesFilter = [
http://git-wip-us.apache.org/repos/asf/groovy/blob/1667899c/src/examples/swing/RegexCoach.groovy
----------------------------------------------------------------------
diff --git a/src/examples/swing/RegexCoach.groovy b/src/examples/swing/RegexCoach.groovy
index bbcb4a2..4e9bde2 100644
--- a/src/examples/swing/RegexCoach.groovy
+++ b/src/examples/swing/RegexCoach.groovy
@@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-// Groovy Regex Coach - Copyright 2007 Jeremy Rayner
// inspired by http://weitz.de/regex-coach/
import java.awt.*
http://git-wip-us.apache.org/repos/asf/groovy/blob/1667899c/src/examples/swing/RegexCoachController.groovy
----------------------------------------------------------------------
diff --git a/src/examples/swing/RegexCoachController.groovy b/src/examples/swing/RegexCoachController.groovy
index e4a50ff..cb241e2 100644
--- a/src/examples/swing/RegexCoachController.groovy
+++ b/src/examples/swing/RegexCoachController.groovy
@@ -16,8 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-// Groovy Regex Coach - Copyright 2007 Jeremy Rayner
-
import groovy.swing.SwingBuilder
import java.awt.Color
import java.awt.event.ActionEvent
http://git-wip-us.apache.org/repos/asf/groovy/blob/1667899c/src/spec/test-resources/beforevisitclass.groovy
----------------------------------------------------------------------
diff --git a/src/spec/test-resources/beforevisitclass.groovy b/src/spec/test-resources/beforevisitclass.groovy
index c7a31a5..90ee3b9 100644
--- a/src/spec/test-resources/beforevisitclass.groovy
+++ b/src/spec/test-resources/beforevisitclass.groovy
@@ -18,22 +18,6 @@
*/
import org.codehaus.groovy.ast.ClassNode
-/*
- * Copyright 2003-2015 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
// tag::event[]
beforeVisitClass { ClassNode classNode ->
def name = classNode.nameWithoutPackage
http://git-wip-us.apache.org/repos/asf/groovy/blob/1667899c/src/spec/test/CustomizersTest.groovy
----------------------------------------------------------------------
diff --git a/src/spec/test/CustomizersTest.groovy b/src/spec/test/CustomizersTest.groovy
index 51e9725..73c9857 100644
--- a/src/spec/test/CustomizersTest.groovy
+++ b/src/spec/test/CustomizersTest.groovy
@@ -22,7 +22,6 @@ import org.codehaus.groovy.ast.ClassNode
import org.codehaus.groovy.ast.builder.AstBuilder
import org.codehaus.groovy.ast.expr.AttributeExpression
import org.codehaus.groovy.control.CompilePhase
-import org.codehaus.groovy.control.CompilerConfiguration
import org.codehaus.groovy.control.SourceUnit
import org.codehaus.groovy.control.customizers.ASTTransformationCustomizer
import org.codehaus.groovy.control.customizers.ImportCustomizer
@@ -33,22 +32,6 @@ import static org.codehaus.groovy.control.customizers.builder.CompilerCustomizat
import static org.codehaus.groovy.syntax.Types.*
-/*
- * Copyright 2003-2014 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
class CustomizersTest extends GroovyTestCase {
private CompilerConfiguration config;
http://git-wip-us.apache.org/repos/asf/groovy/blob/1667899c/src/spec/test/DelegatesToSpecTest.groovy
----------------------------------------------------------------------
diff --git a/src/spec/test/DelegatesToSpecTest.groovy b/src/spec/test/DelegatesToSpecTest.groovy
index d948310..0fdaca7 100644
--- a/src/spec/test/DelegatesToSpecTest.groovy
+++ b/src/spec/test/DelegatesToSpecTest.groovy
@@ -18,22 +18,6 @@
*/
import org.codehaus.groovy.control.MultipleCompilationErrorsException
-/*
- * Copyright 2003-2013 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
class DelegatesToSpecTest extends GroovyTestCase {
void testEmailWithoutDelegatesTo() {
assertScript '''
http://git-wip-us.apache.org/repos/asf/groovy/blob/1667899c/src/spec/test/TraitsSpecificationTest.groovy
----------------------------------------------------------------------
diff --git a/src/spec/test/TraitsSpecificationTest.groovy b/src/spec/test/TraitsSpecificationTest.groovy
index abea5cf..a88e31e 100644
--- a/src/spec/test/TraitsSpecificationTest.groovy
+++ b/src/spec/test/TraitsSpecificationTest.groovy
@@ -19,22 +19,6 @@
import org.codehaus.groovy.ast.ClassHelper
import org.codehaus.groovy.ast.ClassNode
-/*
- * Copyright 2003-2014 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* Specification tests for the traits feature
*/
http://git-wip-us.apache.org/repos/asf/groovy/blob/1667899c/src/spec/test/gdk/ConfigSlurperTest.groovy
----------------------------------------------------------------------
diff --git a/src/spec/test/gdk/ConfigSlurperTest.groovy b/src/spec/test/gdk/ConfigSlurperTest.groovy
index 5550904..13e53d8 100644
--- a/src/spec/test/gdk/ConfigSlurperTest.groovy
+++ b/src/spec/test/gdk/ConfigSlurperTest.groovy
@@ -18,21 +18,6 @@
*/
package gdk
-/*
- * Copyright 2003-2014 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
class ConfigSlurperTest extends GroovyTestCase {
void testWithArbitraryTypes() {
// tag::arbitrary_types[]
http://git-wip-us.apache.org/repos/asf/groovy/blob/1667899c/src/spec/test/gdk/ExpandoTest.groovy
----------------------------------------------------------------------
diff --git a/src/spec/test/gdk/ExpandoTest.groovy b/src/spec/test/gdk/ExpandoTest.groovy
index b35dc3a..ec75501 100644
--- a/src/spec/test/gdk/ExpandoTest.groovy
+++ b/src/spec/test/gdk/ExpandoTest.groovy
@@ -18,22 +18,6 @@
*/
package gdk
-/*
- * Copyright 2003-2014 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
class ExpandoTest extends GroovyTestCase {
void testExpandoAddProperty() {
// tag::expando_property[]
http://git-wip-us.apache.org/repos/asf/groovy/blob/1667899c/src/spec/test/gdk/ObservableTest.groovy
----------------------------------------------------------------------
diff --git a/src/spec/test/gdk/ObservableTest.groovy b/src/spec/test/gdk/ObservableTest.groovy
index 26c3ac6..2749ba1 100644
--- a/src/spec/test/gdk/ObservableTest.groovy
+++ b/src/spec/test/gdk/ObservableTest.groovy
@@ -20,22 +20,6 @@ package gdk
import java.beans.PropertyChangeListener
-/*
- * Copyright 2003-2014 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
class ObservableTest extends GroovyTestCase {
void testObservableList() {
http://git-wip-us.apache.org/repos/asf/groovy/blob/1667899c/src/test/gls/ch06/s05/JName1Test.java
----------------------------------------------------------------------
diff --git a/src/test/gls/ch06/s05/JName1Test.java b/src/test/gls/ch06/s05/JName1Test.java
index a695803..6f2150f 100644
--- a/src/test/gls/ch06/s05/JName1Test.java
+++ b/src/test/gls/ch06/s05/JName1Test.java
@@ -18,34 +18,15 @@
*/
package gls.ch06.s05;
-
import gls.ch06.s05.testClasses.Tt1cgi;
import gls.ch06.s05.testClasses.Tt1cgo;
import gls.ch06.s05.testClasses.Tt1gi;
import gls.ch06.s05.testClasses.Tt1go;
import groovy.lang.Closure;
import junit.framework.TestCase;
-/*
- * Copyright 2005 John G. Wilson
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
/**
* @author John Wilson
*/
-
public class JName1Test extends TestCase {
public void testObjectSupportNameHandling() {
final Tt1go obj = new Tt1go(); // Test subclass of GroovyObjectSupport
http://git-wip-us.apache.org/repos/asf/groovy/blob/1667899c/src/test/gls/ch06/s05/testClasses/Tt1.java
----------------------------------------------------------------------
diff --git a/src/test/gls/ch06/s05/testClasses/Tt1.java b/src/test/gls/ch06/s05/testClasses/Tt1.java
index cc334f0..d7f8b44 100644
--- a/src/test/gls/ch06/s05/testClasses/Tt1.java
+++ b/src/test/gls/ch06/s05/testClasses/Tt1.java
@@ -16,30 +16,11 @@
* specific language governing permissions and limitations
* under the License.
*/
-/*
-* Copyright 2005 John G. Wilson
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
package gls.ch06.s05.testClasses;
-
/**
* @author John Wilson
*/
-
public class Tt1 {
public String x = "field";
http://git-wip-us.apache.org/repos/asf/groovy/blob/1667899c/subprojects/groovy-templates/src/spec/test/MyTemplate.groovy
----------------------------------------------------------------------
diff --git a/subprojects/groovy-templates/src/spec/test/MyTemplate.groovy b/subprojects/groovy-templates/src/spec/test/MyTemplate.groovy
index 0eff219..f2f81b1 100644
--- a/subprojects/groovy-templates/src/spec/test/MyTemplate.groovy
+++ b/subprojects/groovy-templates/src/spec/test/MyTemplate.groovy
@@ -20,22 +20,6 @@ import groovy.text.markup.BaseTemplate
import groovy.text.markup.MarkupTemplateEngine
import groovy.text.markup.TemplateConfiguration
-/*
- * Copyright 2003-2014 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
// tag::basetemplate_class[]
public abstract class MyTemplate extends BaseTemplate {
private List<Module> modules