commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1612032 - /commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java
Date Sun, 20 Jul 2014 06:30:44 GMT
Author: ggregory
Date: Sun Jul 20 06:30:44 2014
New Revision: 1612032

URL: http://svn.apache.org/r1612032
Log:
Use the more modern, compact, and flexible Javadoc "{@code ...}" instead of the HTML "<tt>...</tt>".

Modified:
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java?rev=1612032&r1=1612031&r2=1612032&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java (original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java Sun
Jul 20 06:30:44 2014
@@ -99,7 +99,7 @@ public class ExecuteWatchdog implements 
      * information from the previous run are reset.
      * 
      * @param processToMonitor
-     *            the process to monitor. It cannot be <tt>null</tt>
+     *            the process to monitor. It cannot be {@code null}
      * @throws IllegalStateException
      *             if a process is still being monitored.
      */
@@ -189,8 +189,8 @@ public class ExecuteWatchdog implements 
     /**
      * Indicates whether or not the watchdog is still monitoring the process.
      * 
-     * @return <tt>true</tt> if the process is still running, otherwise
-     *         <tt>false</tt>.
+     * @return {@code true} if the process is still running, otherwise
+     *         {@code false}.
      */
     public synchronized boolean isWatching() {
         ensureStarted();
@@ -200,8 +200,8 @@ public class ExecuteWatchdog implements 
     /**
      * Indicates whether the last process run was killed.
      * 
-     * @return <tt>true</tt> if the process was killed
-     *         <tt>false</tt>.
+     * @return {@code true} if the process was killed
+     *         {@code false}.
      */
     public synchronized boolean killedProcess() {
         return killedProcess;



Mime
View raw message