groovy git commit: add missing license header

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

groovy git commit: add missing license header

paulk
Repository: groovy
Updated Branches:
  refs/heads/master 31826bc7e -> 9ef908880


add missing license header


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

Branch: refs/heads/master
Commit: 9ef908880d50d9211f7d56dc2f664e6d5ed2f74d
Parents: 31826bc
Author: jameskleeh <[hidden email]>
Authored: Fri Sep 14 13:06:09 2018 +1000
Committer: Paul King <[hidden email]>
Committed: Fri Sep 14 13:06:09 2018 +1000

----------------------------------------------------------------------
 ...icPropertyMissingAndMethodMissingTest.groovy | 23 +++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/9ef90888/src/spec/test/metaprogramming/StaticPropertyMissingAndMethodMissingTest.groovy
----------------------------------------------------------------------
diff --git a/src/spec/test/metaprogramming/StaticPropertyMissingAndMethodMissingTest.groovy b/src/spec/test/metaprogramming/StaticPropertyMissingAndMethodMissingTest.groovy
index dbeff95..f474646 100644
--- a/src/spec/test/metaprogramming/StaticPropertyMissingAndMethodMissingTest.groovy
+++ b/src/spec/test/metaprogramming/StaticPropertyMissingAndMethodMissingTest.groovy
@@ -1,3 +1,21 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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 metaprogramming
 
 class StaticPropertyMissingAndMethodMissingTest extends GroovyTestCase {
@@ -13,11 +31,10 @@ class StaticPropertyMissingAndMethodMissingTest extends GroovyTestCase {
 
             assert Foo.bar() == 'Missing static method name is bar'
             // end::static_method_missing[]
-'''
+        '''
     }
 
     void testStaticPropertyMissing() {
-
         assertScript '''
             // tag::static_property_missing[]
             class Foo {
@@ -28,6 +45,6 @@ class StaticPropertyMissingAndMethodMissingTest extends GroovyTestCase {
 
             assert Foo.foobar == 'Missing static property name is foobar'
             // end::static_property_missing[]
-'''
+        '''
     }
 }