accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bil...@apache.org
Subject svn commit: r1390106 - /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/ZooKeeperInstance.java
Date Tue, 25 Sep 2012 20:04:10 GMT
Author: billie
Date: Tue Sep 25 20:04:10 2012
New Revision: 1390106

URL: http://svn.apache.org/viewvc?rev=1390106&view=rev
Log:
ACCUMULO-765 reintroduced deprecated version of ZooKeeperInstance.lookupInstanceName to avoid
breaking API compatibility

Modified:
    accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/ZooKeeperInstance.java

Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/ZooKeeperInstance.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/ZooKeeperInstance.java?rev=1390106&r1=1390105&r2=1390106&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/ZooKeeperInstance.java
(original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/ZooKeeperInstance.java
Tue Sep 25 20:04:10 2012
@@ -233,6 +233,13 @@ public class ZooKeeperInstance implement
   }
   
   /**
+   * @deprecated Use {@link #lookupInstanceName(org.apache.accumulo.fate.zookeeper.ZooCache,
UUID)} instead
+   */
+  public static String lookupInstanceName(org.apache.accumulo.core.zookeeper.ZooCache zooCache,
UUID instanceId) {
+    return lookupInstanceName((ZooCache) zooCache, instanceId);
+  }
+  
+  /**
    * Given a zooCache and instanceId, look up the instance name.
    * 
    * @param zooCache



Mime
View raw message