Skip to content

Commit

Permalink
better code
Browse files Browse the repository at this point in the history
  • Loading branch information
SunnyBoy-WYH committed Sep 20, 2023
1 parent 59d1d0b commit 62a6bd8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public void testMetricsBackend() {
String key = (String) e.getKey();
value = e.getValue();
Assert.assertTrue(String.format(
"Expect map value for key %s but got %s",
"Expect map value for key %s but got %s",
key, value),
value instanceof Map);
host = (Map<?, ?>) value;
Expand Down Expand Up @@ -258,7 +258,7 @@ public void testMetricsBackend() {
String key = (String) e.getKey();
value = e.getValue();
Assert.assertTrue(String.format(
"Expect map value for key %s but got %s",
"Expect map value for key %s but got %s",
key, value),
value instanceof Map);
Map<?, ?> regionServer = (Map<?, ?>) value;
Expand Down

0 comments on commit 62a6bd8

Please sign in to comment.