]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7910 javadoc fixes in StartupBarrier and WebServerBarrier
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Tue, 9 Aug 2016 15:22:19 +0000 (17:22 +0200)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 10 Aug 2016 16:17:07 +0000 (18:17 +0200)
server/sonar-ce/src/main/java/org/sonar/ce/app/StartupBarrier.java
server/sonar-ce/src/main/java/org/sonar/ce/app/WebServerBarrier.java

index cd66d5557876c64dedef286c0aa9ca8e819b818b..a430a10ab271461a703a5d26187f720b0abf0965 100644 (file)
@@ -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();
 }
index cc9761175ba9bc5249b1f80a863b553491df7c78..86d4419c7b70eddb5b4e0c27efa113efc737a1ee 100644 (file)
@@ -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);