You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2019/09/27 16:35:19 UTC

[tomcat] 06/13: Align with 8.5.x - spacing and Javadoc

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit d50739b6e38470cde82f24f4a3650869f9beb011
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Sep 27 16:03:10 2019 +0100

    Align with 8.5.x - spacing and Javadoc
---
 java/org/apache/catalina/Service.java | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/java/org/apache/catalina/Service.java b/java/org/apache/catalina/Service.java
index 73570c0..04234b4 100644
--- a/java/org/apache/catalina/Service.java
+++ b/java/org/apache/catalina/Service.java
@@ -14,8 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-
 package org.apache.catalina;
 
 import org.apache.catalina.connector.Connector;
@@ -36,9 +34,8 @@ public interface Service extends Lifecycle {
 
     // ------------------------------------------------------------- Properties
 
-
     /**
-     * Return the <code>Container</code> that handles requests for all
+     * @return the <code>Container</code> that handles requests for all
      * <code>Connectors</code> associated with this Service.
      */
     public Container getContainer();
@@ -59,7 +56,7 @@ public interface Service extends Lifecycle {
     public String getInfo();
 
     /**
-     * Return the name of this Service.
+     * @return the name of this Service.
      */
     public String getName();
 
@@ -71,7 +68,7 @@ public interface Service extends Lifecycle {
     public void setName(String name);
 
     /**
-     * Return the <code>Server</code> with which we are associated (if any).
+     * @return the <code>Server</code> with which we are associated (if any).
      */
     public Server getServer();
 
@@ -83,7 +80,7 @@ public interface Service extends Lifecycle {
     public void setServer(Server server);
 
     /**
-     * Return the parent class loader for this component. If not set, return
+     * @return the parent class loader for this component. If not set, return
      * {@link #getServer()} {@link Server#getParentClassLoader()}. If no server
      * has been set, return the system class loader.
      */
@@ -96,8 +93,8 @@ public interface Service extends Lifecycle {
      */
     public void setParentClassLoader(ClassLoader parent);
 
-    // --------------------------------------------------------- Public Methods
 
+    // --------------------------------------------------------- Public Methods
 
     /**
      * Add a new Connector to the set of defined Connectors, and associate it
@@ -109,6 +106,8 @@ public interface Service extends Lifecycle {
 
     /**
      * Find and return the set of Connectors associated with this Service.
+     *
+     * @return the set of associated Connectors
      */
     public Connector[] findConnectors();
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org