This is an automated email from the ASF dual-hosted git repository.
andysch pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-kickstart.git
The following commit(s) were added to refs/heads/master by this push:
new 7a098ae Fixes for Javadoc complaints in Java 8
7a098ae is described below
commit 7a098aea2635bc50285e0b6a6453ae4398785af5
Author: Andreas Schaefer <[email protected]>
AuthorDate: Thu May 7 17:17:14 2020 -0700
Fixes for Javadoc complaints in Java 8
---
.../org/apache/sling/kickstart/control/ControlAction.java | 2 +-
.../apache/sling/kickstart/control/ControlListener.java | 14 +++++++++++---
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git
a/src/main/java/org/apache/sling/kickstart/control/ControlAction.java
b/src/main/java/org/apache/sling/kickstart/control/ControlAction.java
index feea4ca..e9d5aa2 100644
--- a/src/main/java/org/apache/sling/kickstart/control/ControlAction.java
+++ b/src/main/java/org/apache/sling/kickstart/control/ControlAction.java
@@ -20,7 +20,7 @@ package org.apache.sling.kickstart.control;
/**
* The <code>ControlAction</code> defines values to used as the action for the
- * Feature Launcher control with the {@link Main#doControlAction()} method.
+ * Feature Launcher control with the
"org.apache.sling.kickstart.app.KickstartStarter#doControlAction()" method.
*/
public enum ControlAction {
diff --git
a/src/main/java/org/apache/sling/kickstart/control/ControlListener.java
b/src/main/java/org/apache/sling/kickstart/control/ControlListener.java
index d621842..a409bb5 100644
--- a/src/main/java/org/apache/sling/kickstart/control/ControlListener.java
+++ b/src/main/java/org/apache/sling/kickstart/control/ControlListener.java
@@ -49,10 +49,10 @@ import java.util.Set;
* class implements the client and server sides of a TCP/IP based communication
* channel to control a running Sling application.
* <p>
- * The server side listens for commands on a configurable host and port
&endash;
- * <code>localhost:63000</code> by default &endash; supporting the following
+ * The server side listens for commands on a configurable host and port
+ * <code>localhost:63000</code> by default supporting the following
* commands:
- * <table>
+ * <table summary="">
* <tr>
* <th>Command</th>
* <th>Description</th>
@@ -125,6 +125,8 @@ public class ControlListener implements Runnable {
/**
* Implements the server side of the control connection starting a thread
* listening on the host and port configured on setup of this instance.
+ *
+ * @return True if launched successfully
*/
public boolean listen() {
final File configFile = getConfigFile();
@@ -145,6 +147,8 @@ public class ControlListener implements Runnable {
/**
* Implements the client side of the control connection sending the command
* to shutdown Sling.
+ *
+ * @return Command Execution Return Code for Stop
*/
public int shutdownServer() {
return sendCommand(COMMAND_STOP);
@@ -153,6 +157,8 @@ public class ControlListener implements Runnable {
/**
* Implements the client side of the control connection sending the command
* to check whether Sling is active.
+ *
+ * @return Command Execution Return Code for Status
*/
public int statusServer() {
return sendCommand(COMMAND_STATUS);
@@ -161,6 +167,8 @@ public class ControlListener implements Runnable {
/**
* Implements the client side of the control connection sending the command
* to retrieve a thread dump.
+ *
+ * @return Command Execution Return Code for Threads
*/
public int dumpThreads() {
return sendCommand(COMMAND_THREADS);