HBASE-18981 Address issues found by error-prone in hbase-client
This commit is contained in:
parent
73b6bd0283
commit
690ff38f54
|
@ -2476,8 +2476,8 @@ public final class ProtobufUtil {
|
|||
switch (type) {
|
||||
case THROTTLE: return QuotaProtos.QuotaType.THROTTLE;
|
||||
case SPACE: return QuotaProtos.QuotaType.SPACE;
|
||||
default: throw new RuntimeException("Invalid QuotaType " + type);
|
||||
}
|
||||
throw new RuntimeException("Invalid QuotaType " + type);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue