HBASE-19970 (addendum for 1.x only) Remove unused functions from TableAuthManager.

This commit is contained in:
Apekshit Sharma 2018-02-12 16:30:48 -08:00
parent e6ce789b6f
commit 0f79c497c5
1 changed files with 3 additions and 3 deletions

View File

@ -47,8 +47,8 @@ import org.junit.experimental.categories.Category;
* Test the reading and writing of access permissions to and from zookeeper. * Test the reading and writing of access permissions to and from zookeeper.
*/ */
@Category(LargeTests.class) @Category(LargeTests.class)
public class TestZKPermissionsWatcher { public class TestZKPermissionWatcher {
private static final Log LOG = LogFactory.getLog(TestZKPermissionsWatcher.class); private static final Log LOG = LogFactory.getLog(TestZKPermissionWatcher.class);
private static final HBaseTestingUtility UTIL = new HBaseTestingUtility(); private static final HBaseTestingUtility UTIL = new HBaseTestingUtility();
private static TableAuthManager AUTH_A; private static TableAuthManager AUTH_A;
private static TableAuthManager AUTH_B; private static TableAuthManager AUTH_B;
@ -90,7 +90,7 @@ public class TestZKPermissionsWatcher {
} }
private void setTableACL( private void setTableACL(
User user, TableAuthManager srcAuthManager, TableAuthManager destAuthManager, User user, TableAuthManager srcAuthManager, final TableAuthManager destAuthManager,
TablePermission.Action... actions) throws Exception{ TablePermission.Action... actions) throws Exception{
// update ACL: george RW // update ACL: george RW
ListMultimap<String, TablePermission> perms = ArrayListMultimap.create(); ListMultimap<String, TablePermission> perms = ArrayListMultimap.create();