Skip to content
Snippets Groups Projects
Commit 0bfa08bd authored by Sören Henning's avatar Sören Henning
Browse files

Fix typos

parent df4ebc10
Branches
Tags
No related merge requests found
Pipeline #7243 passed
...@@ -74,13 +74,13 @@ public class BeamService { ...@@ -74,13 +74,13 @@ public class BeamService {
if (this.pipelineResult == null) { if (this.pipelineResult == null) {
throw new IllegalStateException("Cannot stop service since it has never been started."); throw new IllegalStateException("Cannot stop service since it has never been started.");
} }
LOGGER.info("Stoping Beam pipeline."); LOGGER.info("Stopping Beam pipeline.");
try { try {
this.pipelineResult.cancel(); this.pipelineResult.cancel();
this.pipelineResult = null; // NOPMD use null to indicate absence this.pipelineResult = null; // NOPMD use null to indicate absence
} catch (final IOException e) { } catch (final IOException e) {
throw new IllegalStateException( throw new IllegalStateException(
"Stoping the service failed due to failed stop of Beam pipeline.", e); "Stopping the service failed due to failed stop of Beam pipeline.", e);
} }
LOGGER.info("Shutdown of Beam service {} complete.", this.applicationName); LOGGER.info("Shutdown of Beam service {} complete.", this.applicationName);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment