HBASE-18981 Address issues found by error-prone in hbase-client

This commit is contained in:
Mike Drob 2017-10-10 14:07:54 -05:00
parent 73b6bd0283
commit 690ff38f54
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**