Skip to content

Commit 028f5b3

Browse files
committed
fix ErrorProne violations
1 parent 37bfe68 commit 028f5b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/MetaTableLocator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private MetaTableLocator() {
5858
* @return server name or null if we failed to get the data.
5959
*/
6060
@RestrictedApi(explanation = "Should only be called in tests or ZKUtil", link = "",
61-
allowedOnPath = ".*/src/test/.*|.*/ZKUtil\\.java")
61+
allowedOnPath = ".*/src/test/.*|.*/ZKDump\\.java")
6262
public static ServerName getMetaRegionLocation(final ZKWatcher zkw) {
6363
try {
6464
RegionState state = getMetaRegionState(zkw);
@@ -75,7 +75,7 @@ public static ServerName getMetaRegionLocation(final ZKWatcher zkw) {
7575
* @return server name
7676
*/
7777
@RestrictedApi(explanation = "Should only be called in self or ZKUtil", link = "",
78-
allowedOnPath = ".*(MetaTableLocator|ZKUtil)\\.java")
78+
allowedOnPath = ".*(MetaTableLocator|ZKDump)\\.java")
7979
public static ServerName getMetaRegionLocation(final ZKWatcher zkw, int replicaId) {
8080
try {
8181
RegionState state = getMetaRegionState(zkw, replicaId);

0 commit comments

Comments
 (0)