mikewalch commented on a change in pull request #565: Removed usage of Instance
URL: https://github.com/apache/accumulo/pull/565#discussion_r203750575
 
 

 ##########
 File path: 
core/src/main/java/org/apache/accumulo/core/client/impl/Namespaces.java
 ##########
 @@ -177,13 +177,18 @@ private static void getAllNamespaces(Instance instance, 
BiConsumer<String,String
   /**
    * Return true if namespace name exists
    */
-  public static boolean namespaceNameExists(Instance instance, String 
namespaceName) {
-    return lookupNamespaceId(instance, namespaceName) != null;
+  public static boolean namespaceNameExists(ClientContext context, String 
namespaceName) {
+    return lookupNamespaceId(context, namespaceName) != null;
   }
 
   /**
    * Look for namespace name in ZK. Throw NamespaceNotFoundException if not 
found.
    */
+  public static String getNamespaceName(ClientContext context, Namespace.ID 
namespaceId)
 
 Review comment:
   It's still needed but other methods

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to