From e10dfb87203087da24b33f57aeb852472aa15854 Mon Sep 17 00:00:00 2001 From: Jono Date: Thu, 20 Feb 2020 22:07:54 +1300 Subject: [PATCH] Add licence text. --- .../apache/zookeeper/cli/CommandFactory.java | 18 ++++++++++++++++++ .../zookeeper/cli/CommandFactoryTest.java | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/zookeeper-server/src/main/java/org/apache/zookeeper/cli/CommandFactory.java b/zookeeper-server/src/main/java/org/apache/zookeeper/cli/CommandFactory.java index 9ecca139b40..87f016398d7 100644 --- a/zookeeper-server/src/main/java/org/apache/zookeeper/cli/CommandFactory.java +++ b/zookeeper-server/src/main/java/org/apache/zookeeper/cli/CommandFactory.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.zookeeper.cli; import java.util.function.Supplier; diff --git a/zookeeper-server/src/test/java/org/apache/zookeeper/cli/CommandFactoryTest.java b/zookeeper-server/src/test/java/org/apache/zookeeper/cli/CommandFactoryTest.java index f86e020bf0b..a118399d520 100644 --- a/zookeeper-server/src/test/java/org/apache/zookeeper/cli/CommandFactoryTest.java +++ b/zookeeper-server/src/test/java/org/apache/zookeeper/cli/CommandFactoryTest.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.zookeeper.cli; import static org.junit.Assert.assertTrue;