From e4b73a958f4fb3c63119c1eb633f1118d2208089 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Lesaint?= Date: Tue, 9 Aug 2016 17:22:19 +0200 Subject: [PATCH] SONAR-7910 javadoc fixes in StartupBarrier and WebServerBarrier --- .../src/main/java/org/sonar/ce/app/StartupBarrier.java | 6 +++--- .../src/main/java/org/sonar/ce/app/WebServerBarrier.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/sonar-ce/src/main/java/org/sonar/ce/app/StartupBarrier.java b/server/sonar-ce/src/main/java/org/sonar/ce/app/StartupBarrier.java index cd66d555787..a430a10ab27 100644 --- a/server/sonar-ce/src/main/java/org/sonar/ce/app/StartupBarrier.java +++ b/server/sonar-ce/src/main/java/org/sonar/ce/app/StartupBarrier.java @@ -22,10 +22,10 @@ package org.sonar.ce.app; @FunctionalInterface interface StartupBarrier { /** - * This blocking call, waits for the Web Server to be operational until either the Web Server is actually - * operational, or the calling thread is interrupted. + * This blocking call, waits for a process (or anything) to be operational until either it is actually operational, or + * the calling thread is interrupted. * - * @return true if we detected WebServer is operational, false otherwise + * @return true if what's awaited for is operational, false otherwise */ boolean waitForOperational(); } diff --git a/server/sonar-ce/src/main/java/org/sonar/ce/app/WebServerBarrier.java b/server/sonar-ce/src/main/java/org/sonar/ce/app/WebServerBarrier.java index cc9761175ba..86d4419c7b7 100644 --- a/server/sonar-ce/src/main/java/org/sonar/ce/app/WebServerBarrier.java +++ b/server/sonar-ce/src/main/java/org/sonar/ce/app/WebServerBarrier.java @@ -26,7 +26,7 @@ import org.sonar.process.DefaultProcessCommands; import org.sonar.process.ProcessId; /** - * Waits that web server is operational (started and datastores up-to-date) + * Waits for the web server to be operational (started and datastores up-to-date) */ class WebServerBarrier implements StartupBarrier { private static final Logger LOG = Loggers.get(WebServerBarrier.class); -- 2.39.5