You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by ol...@apache.org on 2013/05/05 12:05:05 UTC
git commit: add missing license headers
Updated Branches:
refs/heads/master 2971ec767 -> 2450601a1
add missing license headers
Project: http://git-wip-us.apache.org/repos/asf/incubator-helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-helix/commit/2450601a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-helix/tree/2450601a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-helix/diff/2450601a
Branch: refs/heads/master
Commit: 2450601a19d5315d5af23c86fada52074cfb129b
Parents: 2971ec7
Author: Olivier Lamy <ol...@apache.org>
Authored: Sun May 5 20:04:55 2013 +1000
Committer: Olivier Lamy <ol...@apache.org>
Committed: Sun May 5 20:04:55 2013 +1000
----------------------------------------------------------------------
.../test/java/org/apache/helix/TestZkBasis.java | 19 +++++++++++++++
.../main/java/org/apache/helix/CMConnector.java | 5 +---
.../servicediscovery/ServiceDiscoveryDemo.java | 19 +++++++++++++++
3 files changed, 39 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/2450601a/helix-core/src/test/java/org/apache/helix/TestZkBasis.java
----------------------------------------------------------------------
diff --git a/helix-core/src/test/java/org/apache/helix/TestZkBasis.java b/helix-core/src/test/java/org/apache/helix/TestZkBasis.java
index 9d9c789..67afb9c 100644
--- a/helix-core/src/test/java/org/apache/helix/TestZkBasis.java
+++ b/helix-core/src/test/java/org/apache/helix/TestZkBasis.java
@@ -1,5 +1,24 @@
package org.apache.helix;
+/*
+ * 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.
+ */
+
import org.I0Itec.zkclient.IZkChildListener;
import org.I0Itec.zkclient.IZkDataListener;
import org.apache.helix.TestHelper;
http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/2450601a/mockservice/src/main/java/org/apache/helix/CMConnector.java
----------------------------------------------------------------------
diff --git a/mockservice/src/main/java/org/apache/helix/CMConnector.java b/mockservice/src/main/java/org/apache/helix/CMConnector.java
index 946f86b..ccc75af 100644
--- a/mockservice/src/main/java/org/apache/helix/CMConnector.java
+++ b/mockservice/src/main/java/org/apache/helix/CMConnector.java
@@ -1,4 +1,5 @@
package org.apache.helix;
+
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@ -17,10 +18,6 @@ package org.apache.helix;
* specific language governing permissions and limitations
* under the License.
*/
-import org.apache.helix.HelixManager;
-import org.apache.helix.HelixManagerFactory;
-import org.apache.helix.InstanceType;
-
public class CMConnector {
http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/2450601a/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/ServiceDiscoveryDemo.java
----------------------------------------------------------------------
diff --git a/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/ServiceDiscoveryDemo.java b/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/ServiceDiscoveryDemo.java
index 1937c3e..88fa601 100644
--- a/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/ServiceDiscoveryDemo.java
+++ b/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/ServiceDiscoveryDemo.java
@@ -1,5 +1,24 @@
package org.apache.helix.servicediscovery;
+/*
+ * 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.
+ */
+
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.ArrayList;