add Apache license header to the Junit test case
Project: http://git-wip-us.apache.org/repos/asf/chukwa/repo Commit: http://git-wip-us.apache.org/repos/asf/chukwa/commit/337a0a97 Tree: http://git-wip-us.apache.org/repos/asf/chukwa/tree/337a0a97 Diff: http://git-wip-us.apache.org/repos/asf/chukwa/diff/337a0a97 Branch: refs/heads/master Commit: 337a0a9743ad01b8357dc557bb3277868f37d333 Parents: ce5d76b Author: fangyiwang <[email protected]> Authored: Wed May 24 09:35:19 2017 -0700 Committer: fangyiwang <[email protected]> Committed: Wed May 24 09:35:19 2017 -0700 ---------------------------------------------------------------------- .../apache/hadoop/chukwa/caffe/ImageCreator.java | 18 ++++++++++++++++++ .../hadoop/chukwa/caffe/MetricsCollector.java | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/chukwa/blob/337a0a97/src/test/java/org/apache/hadoop/chukwa/caffe/ImageCreator.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/hadoop/chukwa/caffe/ImageCreator.java b/src/test/java/org/apache/hadoop/chukwa/caffe/ImageCreator.java index 4383275..1e9b86a 100644 --- a/src/test/java/org/apache/hadoop/chukwa/caffe/ImageCreator.java +++ b/src/test/java/org/apache/hadoop/chukwa/caffe/ImageCreator.java @@ -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 org.apache.hadoop.chukwa.caffe; import java.awt.BasicStroke; http://git-wip-us.apache.org/repos/asf/chukwa/blob/337a0a97/src/test/java/org/apache/hadoop/chukwa/caffe/MetricsCollector.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/hadoop/chukwa/caffe/MetricsCollector.java b/src/test/java/org/apache/hadoop/chukwa/caffe/MetricsCollector.java index bc93055..6d1c9a2 100644 --- a/src/test/java/org/apache/hadoop/chukwa/caffe/MetricsCollector.java +++ b/src/test/java/org/apache/hadoop/chukwa/caffe/MetricsCollector.java @@ -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 org.apache.hadoop.chukwa.caffe; import java.io.BufferedWriter;
