You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by bl...@apache.org on 2016/09/26 22:44:28 UTC
groovy git commit: updating license and adding some generics
Repository: groovy
Updated Branches:
refs/heads/master 8cdf3a267 -> e5087cefa
updating license and adding some generics
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/e5087cef
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/e5087cef
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/e5087cef
Branch: refs/heads/master
Commit: e5087cefaed85206a34e43b888af070fa09b66b7
Parents: 8cdf3a2
Author: Jochen Theodorou <bl...@gmx.org>
Authored: Tue Sep 27 00:44:02 2016 +0200
Committer: Jochen Theodorou <bl...@gmx.org>
Committed: Tue Sep 27 00:44:02 2016 +0200
----------------------------------------------------------------------
.../groovy/internal/util/UncheckedThrow.java | 25 ++++++++++--------
.../groovy/lang/annotation/Incubating.java | 25 ++++++++++--------
src/main/org/apache/groovy/metaclass/Realm.java | 27 +++++++++++---------
3 files changed, 43 insertions(+), 34 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/e5087cef/src/main/org/apache/groovy/internal/util/UncheckedThrow.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/groovy/internal/util/UncheckedThrow.java b/src/main/org/apache/groovy/internal/util/UncheckedThrow.java
index 44be19b..75f2071 100644
--- a/src/main/org/apache/groovy/internal/util/UncheckedThrow.java
+++ b/src/main/org/apache/groovy/internal/util/UncheckedThrow.java
@@ -1,17 +1,20 @@
/*
- * Copyright 2003-2016 the original author or authors.
+ * 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
*
- * 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
*
- * 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.
+ * 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 org.apache.groovy.internal.util;
http://git-wip-us.apache.org/repos/asf/groovy/blob/e5087cef/src/main/org/apache/groovy/lang/annotation/Incubating.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/groovy/lang/annotation/Incubating.java b/src/main/org/apache/groovy/lang/annotation/Incubating.java
index e612f64..96ec823 100644
--- a/src/main/org/apache/groovy/lang/annotation/Incubating.java
+++ b/src/main/org/apache/groovy/lang/annotation/Incubating.java
@@ -1,17 +1,20 @@
/*
- * Copyright 2003-2016 the original author or authors.
+ * 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
*
- * 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
*
- * 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.
+ * 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 org.apache.groovy.lang.annotation;
http://git-wip-us.apache.org/repos/asf/groovy/blob/e5087cef/src/main/org/apache/groovy/metaclass/Realm.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/groovy/metaclass/Realm.java b/src/main/org/apache/groovy/metaclass/Realm.java
index 16f3806..53b097a 100644
--- a/src/main/org/apache/groovy/metaclass/Realm.java
+++ b/src/main/org/apache/groovy/metaclass/Realm.java
@@ -1,17 +1,20 @@
/*
- * Copyright 2003-2016 the original author or authors.
+ * 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
*
- * 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
*
- * 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.
+ * 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 org.apache.groovy.metaclass;
@@ -36,7 +39,7 @@ public final class Realm {
private final String name;
private final Realm parent;
- private final ClassValue<MetaClass> cv = new ClassValue() {
+ private final ClassValue<MetaClass> cv = new ClassValue<MetaClass>() {
@Override
protected MetaClass computeValue(Class type) {
return new MetaClassImpl(type);