diff --git a/src/server/src/main/java/io/cassandrareaper/management/http/HttpManagementConnectionFactory.java b/src/server/src/main/java/io/cassandrareaper/management/http/HttpManagementConnectionFactory.java index af6c32ac8..0925a8788 100644 --- a/src/server/src/main/java/io/cassandrareaper/management/http/HttpManagementConnectionFactory.java +++ b/src/server/src/main/java/io/cassandrareaper/management/http/HttpManagementConnectionFactory.java @@ -152,7 +152,7 @@ private void registerConnectionsGauge() { (Gauge) HTTP_CONNECTIONS::size); } } catch (IllegalArgumentException e) { - LOG.warn("Cannot create openHttoManagementConnections metric gauge", e); + LOG.warn("Cannot create openHttpManagementConnections metric gauge", e); } } diff --git a/src/server/src/main/java/io/cassandrareaper/service/RepairManager.java b/src/server/src/main/java/io/cassandrareaper/service/RepairManager.java index dba6c57cf..ce344ca00 100644 --- a/src/server/src/main/java/io/cassandrareaper/service/RepairManager.java +++ b/src/server/src/main/java/io/cassandrareaper/service/RepairManager.java @@ -177,7 +177,7 @@ public void resumeRunningRepairRuns() throws ReaperException { Collection pausedRepairRuns = repairRunDao.getRepairRunsWithState(RepairRun.RunState.PAUSED); abortAllRunningSegmentsWithNoLeader(runningRepairRuns); abortAllRunningSegmentsInKnownPausedRepairRuns(pausedRepairRuns); - resumeUnkownRunningRepairRuns(runningRepairRuns); + resumeUnknownRunningRepairRuns(runningRepairRuns); resumeUnknownPausedRepairRuns(pausedRepairRuns); } catch (RuntimeException e) { throw new ReaperException(e); @@ -199,7 +199,7 @@ private void abortAllRunningSegmentsWithNoLeader(Collection runningRe }); } - private void resumeUnkownRunningRepairRuns(Collection runningRepairRuns) throws ReaperException { + private void resumeUnknownRunningRepairRuns(Collection runningRepairRuns) throws ReaperException { try { repairRunnersLock.lock(); for (RepairRun repairRun : runningRepairRuns) { @@ -247,7 +247,7 @@ private void resumeUnknownPausedRepairRuns(Collection pausedRepairRun pausedRepairRuns .stream() .filter((pausedRepairRun) -> (!repairRunners.containsKey(pausedRepairRun.getId()))) - // add "paused" repair run to this reaper instance, so it can be visualised in UI + // add "paused" repair run to this reaper instance, so it can be visualized in UI .forEachOrdered((pausedRepairRun) -> startRunner(pausedRepairRun)); } finally { repairRunnersLock.unlock(); diff --git a/src/server/src/test/java/io/cassandrareaper/management/http/HttpCassandraManagementProxyTest.java b/src/server/src/test/java/io/cassandrareaper/management/http/HttpCassandraManagementProxyTest.java index 198f1ba45..0fcc18d79 100644 --- a/src/server/src/test/java/io/cassandrareaper/management/http/HttpCassandraManagementProxyTest.java +++ b/src/server/src/test/java/io/cassandrareaper/management/http/HttpCassandraManagementProxyTest.java @@ -648,7 +648,7 @@ public void testGetTokenToEndpointMap() throws Exception { } @Test - public void testgetEndpointToHostId() throws Exception { + public void testGetEndpointToHostId() throws Exception { DefaultApi mockClient = Mockito.mock(DefaultApi.class); EndpointStates states = new EndpointStates(); states.addEntityItem(ImmutableMap.of(