From dbfa4f25c2fb02f080294be2c1726ed52099a814 Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Fri, 15 Jan 2010 16:57:24 +0000 Subject: [PATCH] Adding missing license headers per RAT report git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@899713 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/collections/IndexedCollection.java | 16 ++++++++++++++++ .../AbstractUntypedIteratorDecorator.java | 17 +++++++++++++++-- .../collections/splitmap/SplitMapUtils.java | 16 ++++++++++++++++ .../AbstractDecoratedCollectionTest.java | 16 ++++++++++++++++ .../collections/TestIndexedCollection.java | 16 ++++++++++++++++ .../functors/BasicPredicateTestBase.java | 16 ++++++++++++++++ .../functors/MockPredicateTestBase.java | 16 ++++++++++++++++ .../commons/collections/functors/TestAll.java | 16 ++++++++++++++++ .../functors/TestCompositePredicate.java | 16 ++++++++++++++++ .../functors/TestEqualPredicate.java | 16 ++++++++++++++++ .../collections/functors/TestNullPredicate.java | 16 ++++++++++++++++ 11 files changed, 175 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/commons/collections/IndexedCollection.java b/src/java/org/apache/commons/collections/IndexedCollection.java index ba55aa945..fcda9bc9e 100644 --- a/src/java/org/apache/commons/collections/IndexedCollection.java +++ b/src/java/org/apache/commons/collections/IndexedCollection.java @@ -1,3 +1,19 @@ +/* + * 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 org.apache.commons.collections; import java.util.Collection; diff --git a/src/java/org/apache/commons/collections/iterators/AbstractUntypedIteratorDecorator.java b/src/java/org/apache/commons/collections/iterators/AbstractUntypedIteratorDecorator.java index a7aa9d514..5379b8af0 100644 --- a/src/java/org/apache/commons/collections/iterators/AbstractUntypedIteratorDecorator.java +++ b/src/java/org/apache/commons/collections/iterators/AbstractUntypedIteratorDecorator.java @@ -1,5 +1,18 @@ -/** +/* + * 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 org.apache.commons.collections.iterators; @@ -51,4 +64,4 @@ public abstract class AbstractUntypedIteratorDecorator implements Iterator iterator.remove(); } -} \ No newline at end of file +} diff --git a/src/java/org/apache/commons/collections/splitmap/SplitMapUtils.java b/src/java/org/apache/commons/collections/splitmap/SplitMapUtils.java index f018dbf59..8dd44b175 100644 --- a/src/java/org/apache/commons/collections/splitmap/SplitMapUtils.java +++ b/src/java/org/apache/commons/collections/splitmap/SplitMapUtils.java @@ -1,3 +1,19 @@ +/* + * 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 org.apache.commons.collections.splitmap; import java.util.Collection; diff --git a/src/test/org/apache/commons/collections/AbstractDecoratedCollectionTest.java b/src/test/org/apache/commons/collections/AbstractDecoratedCollectionTest.java index 4ed5a4fe5..4d3a2588d 100644 --- a/src/test/org/apache/commons/collections/AbstractDecoratedCollectionTest.java +++ b/src/test/org/apache/commons/collections/AbstractDecoratedCollectionTest.java @@ -1,3 +1,19 @@ +/* + * 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 org.apache.commons.collections; import java.util.ArrayList; diff --git a/src/test/org/apache/commons/collections/TestIndexedCollection.java b/src/test/org/apache/commons/collections/TestIndexedCollection.java index 5efa177d3..8dd770c15 100644 --- a/src/test/org/apache/commons/collections/TestIndexedCollection.java +++ b/src/test/org/apache/commons/collections/TestIndexedCollection.java @@ -1,3 +1,19 @@ +/* + * 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 org.apache.commons.collections; import static java.util.Arrays.asList; diff --git a/src/test/org/apache/commons/collections/functors/BasicPredicateTestBase.java b/src/test/org/apache/commons/collections/functors/BasicPredicateTestBase.java index bc9d832cc..cfcbe644a 100644 --- a/src/test/org/apache/commons/collections/functors/BasicPredicateTestBase.java +++ b/src/test/org/apache/commons/collections/functors/BasicPredicateTestBase.java @@ -1,3 +1,19 @@ +/* + * 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 org.apache.commons.collections.functors; import org.apache.commons.collections.Predicate; diff --git a/src/test/org/apache/commons/collections/functors/MockPredicateTestBase.java b/src/test/org/apache/commons/collections/functors/MockPredicateTestBase.java index 5b7dbe358..acece3056 100644 --- a/src/test/org/apache/commons/collections/functors/MockPredicateTestBase.java +++ b/src/test/org/apache/commons/collections/functors/MockPredicateTestBase.java @@ -1,3 +1,19 @@ +/* + * 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 org.apache.commons.collections.functors; import static org.easymock.EasyMock.verify; diff --git a/src/test/org/apache/commons/collections/functors/TestAll.java b/src/test/org/apache/commons/collections/functors/TestAll.java index dde96278f..16d446834 100644 --- a/src/test/org/apache/commons/collections/functors/TestAll.java +++ b/src/test/org/apache/commons/collections/functors/TestAll.java @@ -1,3 +1,19 @@ +/* + * 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 org.apache.commons.collections.functors; import junit.framework.TestCase; diff --git a/src/test/org/apache/commons/collections/functors/TestCompositePredicate.java b/src/test/org/apache/commons/collections/functors/TestCompositePredicate.java index f08a41296..dde2dcdfc 100644 --- a/src/test/org/apache/commons/collections/functors/TestCompositePredicate.java +++ b/src/test/org/apache/commons/collections/functors/TestCompositePredicate.java @@ -1,3 +1,19 @@ +/* + * 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 org.apache.commons.collections.functors; import org.apache.commons.collections.Predicate; diff --git a/src/test/org/apache/commons/collections/functors/TestEqualPredicate.java b/src/test/org/apache/commons/collections/functors/TestEqualPredicate.java index ef88367ca..2eda5b440 100644 --- a/src/test/org/apache/commons/collections/functors/TestEqualPredicate.java +++ b/src/test/org/apache/commons/collections/functors/TestEqualPredicate.java @@ -1,3 +1,19 @@ +/* + * 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 org.apache.commons.collections.functors; import static org.apache.commons.collections.functors.EqualPredicate.equalPredicate; diff --git a/src/test/org/apache/commons/collections/functors/TestNullPredicate.java b/src/test/org/apache/commons/collections/functors/TestNullPredicate.java index 1df8ad5f4..2361360dd 100644 --- a/src/test/org/apache/commons/collections/functors/TestNullPredicate.java +++ b/src/test/org/apache/commons/collections/functors/TestNullPredicate.java @@ -1,3 +1,19 @@ +/* + * 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 org.apache.commons.collections.functors; import static org.apache.commons.collections.functors.NullPredicate.nullPredicate;