SAMOA-38: Fix missing Apache headers
Project: http://git-wip-us.apache.org/repos/asf/incubator-samoa/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-samoa/commit/ab97dbdf Tree: http://git-wip-us.apache.org/repos/asf/incubator-samoa/tree/ab97dbdf Diff: http://git-wip-us.apache.org/repos/asf/incubator-samoa/diff/ab97dbdf Branch: refs/heads/releases/0.3.0-incubating Commit: ab97dbdf8dfba9f58ef0afc68b00c567ca141dbe Parents: fa0349b Author: Gianmarco De Francisci Morales <[email protected]> Authored: Thu Jul 2 17:24:40 2015 +0300 Committer: Gianmarco De Francisci Morales <[email protected]> Committed: Mon Jul 6 11:33:40 2015 +0300 ---------------------------------------------------------------------- pom.xml | 2 ++ .../assembly/test-jar-with-dependencies.xml | 20 ++++++++++++ .../test/java/org/apache/samoa/TestParams.java | 20 ++++++++++++ .../test/java/org/apache/samoa/TestUtils.java | 34 +++++++++++--------- .../org/apache/samoa/LocalThreadsDoTask.java | 20 ++++++++++++ 5 files changed, 80 insertions(+), 16 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-samoa/blob/ab97dbdf/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 3cd4174..cce355d 100644 --- a/pom.xml +++ b/pom.xml @@ -221,6 +221,8 @@ <root>samoa-s4</root> <root>samoa-flink</root> <root>samoa-samza</root> + <root>samoa-test</root> + <root>samoa-threads</root> <root>bin</root> </roots> <excludes> http://git-wip-us.apache.org/repos/asf/incubator-samoa/blob/ab97dbdf/samoa-test/src/main/assembly/test-jar-with-dependencies.xml ---------------------------------------------------------------------- diff --git a/samoa-test/src/main/assembly/test-jar-with-dependencies.xml b/samoa-test/src/main/assembly/test-jar-with-dependencies.xml index 279c71f..2de34ed 100644 --- a/samoa-test/src/main/assembly/test-jar-with-dependencies.xml +++ b/samoa-test/src/main/assembly/test-jar-with-dependencies.xml @@ -1,5 +1,25 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- + #%L + SAMOA + %% + Copyright (C) 2014 - 2015 Apache Software Foundation + %% + 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. + #L% + --> + +<!-- 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. http://git-wip-us.apache.org/repos/asf/incubator-samoa/blob/ab97dbdf/samoa-test/src/test/java/org/apache/samoa/TestParams.java ---------------------------------------------------------------------- diff --git a/samoa-test/src/test/java/org/apache/samoa/TestParams.java b/samoa-test/src/test/java/org/apache/samoa/TestParams.java index e217922..0d9d639 100644 --- a/samoa-test/src/test/java/org/apache/samoa/TestParams.java +++ b/samoa-test/src/test/java/org/apache/samoa/TestParams.java @@ -1,5 +1,25 @@ package org.apache.samoa; +/* + * #%L + * SAMOA + * %% + * Copyright (C) 2014 - 2015 Apache Software Foundation + * %% + * 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. + * #L% + */ + public class TestParams { /** http://git-wip-us.apache.org/repos/asf/incubator-samoa/blob/ab97dbdf/samoa-test/src/test/java/org/apache/samoa/TestUtils.java ---------------------------------------------------------------------- diff --git a/samoa-test/src/test/java/org/apache/samoa/TestUtils.java b/samoa-test/src/test/java/org/apache/samoa/TestUtils.java index 320b8a8..6ed9ebc 100644 --- a/samoa-test/src/test/java/org/apache/samoa/TestUtils.java +++ b/samoa-test/src/test/java/org/apache/samoa/TestUtils.java @@ -1,21 +1,23 @@ package org.apache.samoa;/* * #%L -* SAMOA -* %% -* Copyright (C) 2013 - 2014 Yahoo! Inc. -* %% -* 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. -* #L% + * * SAMOA + * * + * %% + * Copyright (C) 2013 - 2014 Yahoo! Inc. + * * + * %% + * 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. + * #L% */ import org.apache.commons.csv.CSVFormat; http://git-wip-us.apache.org/repos/asf/incubator-samoa/blob/ab97dbdf/samoa-threads/src/main/java/org/apache/samoa/LocalThreadsDoTask.java ---------------------------------------------------------------------- diff --git a/samoa-threads/src/main/java/org/apache/samoa/LocalThreadsDoTask.java b/samoa-threads/src/main/java/org/apache/samoa/LocalThreadsDoTask.java index 3b5ca06..9af4854 100644 --- a/samoa-threads/src/main/java/org/apache/samoa/LocalThreadsDoTask.java +++ b/samoa-threads/src/main/java/org/apache/samoa/LocalThreadsDoTask.java @@ -1,5 +1,25 @@ package org.apache.samoa; +/* + * #%L + * SAMOA + * %% + * Copyright (C) 2014 - 2015 Apache Software Foundation + * %% + * 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. + * #L% + */ + import java.util.ArrayList; import java.util.Arrays;
