helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kisho...@apache.org
Subject git commit: [HELIX-75] Removing exception from throws clause of helixmanager constructor
Date Mon, 01 Apr 2013 14:24:47 GMT
Updated Branches:
  refs/heads/master 7c14fdeb8 -> 3f238e5a1


[HELIX-75] Removing exception from throws clause of helixmanager constructor


Project: http://git-wip-us.apache.org/repos/asf/incubator-helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-helix/commit/3f238e5a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-helix/tree/3f238e5a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-helix/diff/3f238e5a

Branch: refs/heads/master
Commit: 3f238e5a1d5531b5741be6722c52a440b3f4eb98
Parents: 7c14fde
Author: Kishore Gopalakrishna <g.kishore@gmail.com>
Authored: Mon Apr 1 07:24:22 2013 -0700
Committer: Kishore Gopalakrishna <g.kishore@gmail.com>
Committed: Mon Apr 1 07:24:22 2013 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/helix/HelixManager.java   |    1 +
 .../java/org/apache/helix/HelixManagerFactory.java |    3 +--
 .../apache/helix/manager/zk/ZKHelixManager.java    |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3f238e5a/helix-core/src/main/java/org/apache/helix/HelixManager.java
----------------------------------------------------------------------
diff --git a/helix-core/src/main/java/org/apache/helix/HelixManager.java b/helix-core/src/main/java/org/apache/helix/HelixManager.java
index 0ec7730..6cc7d0f 100644
--- a/helix-core/src/main/java/org/apache/helix/HelixManager.java
+++ b/helix-core/src/main/java/org/apache/helix/HelixManager.java
@@ -31,6 +31,7 @@ import org.apache.helix.store.zk.ZkHelixPropertyStore;
 
 
 /**
+ * Class that represents the Helix Agent.
  * First class Object any process will interact with<br/>
  * General flow <blockquote>
  * 

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3f238e5a/helix-core/src/main/java/org/apache/helix/HelixManagerFactory.java
----------------------------------------------------------------------
diff --git a/helix-core/src/main/java/org/apache/helix/HelixManagerFactory.java b/helix-core/src/main/java/org/apache/helix/HelixManagerFactory.java
index 7c3c206..cc5673f 100644
--- a/helix-core/src/main/java/org/apache/helix/HelixManagerFactory.java
+++ b/helix-core/src/main/java/org/apache/helix/HelixManagerFactory.java
@@ -42,12 +42,11 @@ public final class HelixManagerFactory
    * @param type
    * @param zkAddr
    * @return
-   * @throws Exception
    */
   public static HelixManager getZKHelixManager(String clusterName,
                                                String instanceName,
                                                InstanceType type,
-                                               String zkAddr) throws Exception
+                                               String zkAddr)
   {
     return new ZKHelixManager(clusterName, instanceName, type, zkAddr);
   }

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3f238e5a/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixManager.java
----------------------------------------------------------------------
diff --git a/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixManager.java b/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixManager.java
index 09e6137..9fc8126 100644
--- a/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixManager.java
+++ b/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixManager.java
@@ -122,7 +122,7 @@ public class ZKHelixManager implements HelixManager
   public ZKHelixManager(String clusterName,
                         String instanceName,
                         InstanceType instanceType,
-                        String zkConnectString) throws Exception
+                        String zkConnectString)
   {
     logger.info("Create a zk-based cluster manager. clusterName:" + clusterName
         + ", instanceName:" + instanceName + ", type:" + instanceType + ", zkSvr:"


Mime
View raw message