svn commit: r1843837 - /ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/mail/JavaMailContainer.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1843837 - /ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/mail/JavaMailContainer.java

jleroux@apache.org
Author: jleroux
Date: Sun Oct 14 13:42:19 2018
New Revision: 1843837

URL: http://svn.apache.org/viewvc?rev=1843837&view=rev
Log:
Improved: Cleanup JavaDocs to be standards compliant
(OFBIZ-7775)

Removes some javadoc warnings.  This is done by removing some redundant javadoc
comments that are already well written in the implemented interface.

Ref: https://docs.oracle.com/javase/7/docs/technotes/tools/solaris/javadoc.html#inheritingcomments

Thanks: Mathieu Lirzin

Modified:
    ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/mail/JavaMailContainer.java

Modified: ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/mail/JavaMailContainer.java
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/mail/JavaMailContainer.java?rev=1843837&r1=1843836&r2=1843837&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/mail/JavaMailContainer.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/service/src/main/java/org/apache/ofbiz/service/mail/JavaMailContainer.java Sun Oct 14 13:42:19 2018
@@ -73,14 +73,7 @@ public class JavaMailContainer implement
     protected String configFile = null;
     protected Map<Store, Session> stores = null;
     private String name;
-    /**
-     * Initialize the container
-     *
-     * @param ofbizCommands command line arguments
-     * @param configFile Location of master OFBiz configuration file
-     * @throws org.apache.ofbiz.base.container.ContainerException
-     *
-     */
+
     @Override
     public void init(List<StartupCommand> ofbizCommands, String name, String configFile) throws ContainerException {
         this.name = name;
@@ -89,13 +82,6 @@ public class JavaMailContainer implement
         this.pollTimer = Executors.newScheduledThreadPool(1);
     }
 
-    /**
-     * Start the container
-     *
-     * @return true if server started
-     * @throws org.apache.ofbiz.base.container.ContainerException
-     *
-     */
     @Override
     public boolean start() throws ContainerException {
         ContainerConfig.Configuration cfg = ContainerConfig.getConfiguration(name, configFile);
@@ -139,12 +125,6 @@ public class JavaMailContainer implement
         return true;
     }
 
-    /**
-     * Stop the container
-     *
-     * @throws org.apache.ofbiz.base.container.ContainerException
-     *
-     */
     @Override
     public void stop() throws ContainerException {
         // stop the poller