From 92c7a4134de8c6854bb4ac29dd165d315733fe4d Mon Sep 17 00:00:00 2001 From: stack Date: Tue, 3 Mar 2020 09:15:18 -0800 Subject: [PATCH] HBASE-22978 : Online slow response log (#1228) Addendum to fix errorprone ERROR --- .../hadoop/hbase/regionserver/slowlog/TestSlowLogRecorder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/slowlog/TestSlowLogRecorder.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/slowlog/TestSlowLogRecorder.java index 240230eedec..6a56c099eba 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/slowlog/TestSlowLogRecorder.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/slowlog/TestSlowLogRecorder.java @@ -556,7 +556,8 @@ public class TestSlowLogRecorder { .build(); break; } - + default: + throw new RuntimeException("Not supposed to get here?"); } return message;