commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1636056 - in /commons/proper/exec/trunk/src: main/java/org/apache/commons/exec/ main/java/org/apache/commons/exec/environment/ main/java/org/apache/commons/exec/launcher/ test/java/org/apache/commons/exec/ test/java/org/apache/commons/exec...
Date Sat, 01 Nov 2014 21:12:53 GMT
Author: ggregory
Date: Sat Nov  1 21:12:52 2014
New Revision: 1636056

URL: http://svn.apache.org/r1636056
Log:
Replace <code>foo</code> with {@code foo} on the way to fixing Javadoc 8 errors.

Modified:
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecutor.java
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteException.java
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteResultHandler.java
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteStreamHandler.java
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/Executor.java
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/LogOutputStream.java
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ProcessDestroyer.java
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/Watchdog.java
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/EnvironmentUtils.java
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/OpenVmsProcessingEnvironment.java
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/launcher/CommandLauncher.java
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/launcher/VmsCommandLauncher.java
    commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/DefaultExecutorTest.java
    commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/TutorialTest.java
    commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/environment/EnvironmentUtilsTest.java
    commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec34Test.java

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecutor.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecutor.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecutor.java (original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecutor.java Sat
Nov  1 21:12:52 2014
@@ -72,13 +72,13 @@ public class DefaultExecutor implements 
     private IOException exceptionCaught;
 
     /**
-     * Default constructor creating a default <code>PumpStreamHandler</code>
+     * Default constructor creating a default {@code PumpStreamHandler}
      * and sets the working directory of the subprocess to the current
      * working directory.
      *
-     * The <code>PumpStreamHandler</code> pumps the output of the subprocess
-     * into our <code>System.out</code> and <code>System.err</code>
to avoid
-     * into our <code>System.out</code> and <code>System.err</code>
to avoid
+     * The {@code PumpStreamHandler} pumps the output of the subprocess
+     * into our {@code System.out} and {@code System.err} to avoid
+     * into our {@code System.out} and {@code System.err} to avoid
      * a blocked or deadlocked subprocess (see{@link java.lang.Process Process}).
      */
     public DefaultExecutor() {

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteException.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteException.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteException.java
(original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteException.java
Sat Nov  1 21:12:52 2014
@@ -28,7 +28,7 @@ import java.io.IOException;
 public class ExecuteException extends IOException {
 
     /**
-     * Comment for <code>serialVersionUID</code>.
+     * Comment for {@code serialVersionUID}.
      */
     private static final long serialVersionUID = 3256443620654331699L;
 

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteResultHandler.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteResultHandler.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteResultHandler.java
(original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteResultHandler.java
Sat Nov  1 21:12:52 2014
@@ -39,7 +39,7 @@ public interface ExecuteResultHandler {
   /**
    * The asynchronous execution failed.
    *
-   * @param e the <code>ExecuteException</code> containing the root cause
+   * @param e the {@code ExecuteException} containing the root cause
    */
     void onProcessFailed(ExecuteException e);
 }

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteStreamHandler.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteStreamHandler.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteStreamHandler.java
(original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteStreamHandler.java
Sat Nov  1 21:12:52 2014
@@ -23,7 +23,7 @@ import java.io.InputStream;
 import java.io.OutputStream;
 
 /**
- * Used by <code>Execute</code> to handle input and output stream of
+ * Used by {@code Execute} to handle input and output stream of
  * subprocesses.
  *
  * @version $Id$

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/Executor.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/Executor.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/Executor.java (original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/Executor.java Sat Nov
 1 21:12:52 2014
@@ -52,7 +52,7 @@ public interface Executor {
     int INVALID_EXITVALUE = 0xdeadbeef;
 
     /**
-     * Define the <code>exitValue</code> of the process to be considered
+     * Define the {@code exitValue} of the process to be considered
      * successful. If a different exit value is returned by
      * the process then {@link org.apache.commons.exec.Executor#execute(CommandLine)}
      * will throw an {@link org.apache.commons.exec.ExecuteException} 
@@ -62,7 +62,7 @@ public interface Executor {
     void setExitValue(final int value);
 
     /**
-     * Define a list of <code>exitValue</code> of the process to be considered
+     * Define a list of {@code exitValue} of the process to be considered
      * successful. The caller can pass one of the following values
      * <ul>
      *  <li>an array of exit values to be considered successful</li>
@@ -79,13 +79,13 @@ public interface Executor {
     void setExitValues(final int[] values);
 
     /**
-     * Checks whether <code>exitValue</code> signals a failure. If no
+     * Checks whether {@code exitValue} signals a failure. If no
      * exit values are set than the default conventions of the OS is
      * used. e.g. most OS regard an exit code of '0' as successful
      * execution and everything else as failure.
      *
      * @param exitValue the exit value (return code) to be checked
-     * @return <code>true</code> if <code>exitValue</code> signals
a failure
+     * @return {@code true} if {@code exitValue} signals a failure
      */
     boolean isFailure(final int exitValue);
 

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/LogOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/LogOutputStream.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/LogOutputStream.java (original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/LogOutputStream.java Sat
Nov  1 21:12:52 2014
@@ -155,7 +155,7 @@ public abstract class LogOutputStream
     }
 
     /**
-     * Converts the buffer to a string and sends it to <code>processLine</code>.
+     * Converts the buffer to a string and sends it to {@code processLine}.
      */
     protected void processBuffer() {
         processLine(buffer.toString());

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ProcessDestroyer.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ProcessDestroyer.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ProcessDestroyer.java
(original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ProcessDestroyer.java
Sat Nov  1 21:12:52 2014
@@ -28,26 +28,26 @@ package org.apache.commons.exec;
 public interface ProcessDestroyer {
 
     /**
-     * Returns <code>true</code> if the specified
+     * Returns {@code true} if the specified
      * {@link java.lang.Process} was
      * successfully added to the list of processes to be destroy.
      *
      * @param process
      *      the process to add
-     * @return <code>true</code> if the specified
+     * @return {@code true} if the specified
      *      {@link java.lang.Process} was
      *      successfully added
      */
     boolean add(Process process);
 
     /**
-     * Returns <code>true</code> if the specified
+     * Returns {@code true} if the specified
      * {@link java.lang.Process} was
      * successfully removed from the list of processes to be destroy.
      *
      * @param process
      *            the process to remove
-     * @return <code>true</code> if the specified
+     * @return {@code true} if the specified
      *      {@link java.lang.Process} was
      *      successfully removed
      */

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java
(original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java
Sat Nov  1 21:12:52 2014
@@ -22,7 +22,7 @@ import java.util.Enumeration;
 import java.util.Vector;
 
 /**
- * Destroys all registered <code>Process</code>es when the VM exits.
+ * Destroys all registered {@code Process}es when the VM exits.
  *
  * @version $Id$
  */
@@ -63,20 +63,20 @@ public class ShutdownHookProcessDestroye
     }
 
     /**
-     * Constructs a <code>ProcessDestroyer</code> and obtains
-     * <code>Runtime.addShutdownHook()</code> and
-     * <code>Runtime.removeShutdownHook()</code> through reflection. The
+     * Constructs a {@code ProcessDestroyer} and obtains
+     * {@code Runtime.addShutdownHook()} and
+     * {@code Runtime.removeShutdownHook()} through reflection. The
      * ProcessDestroyer manages a list of processes to be destroyed when the VM
      * exits. If a process is added when the list is empty, this
-     * <code>ProcessDestroyer</code> is registered as a shutdown hook. If
+     * {@code ProcessDestroyer} is registered as a shutdown hook. If
      * removing a process results in an empty list, the
-     * <code>ProcessDestroyer</code> is removed as a shutdown hook.
+     * {@code ProcessDestroyer} is removed as a shutdown hook.
      */
     public ShutdownHookProcessDestroyer() {
     }
 
     /**
-     * Registers this <code>ProcessDestroyer</code> as a shutdown hook, uses
+     * Registers this {@code ProcessDestroyer} as a shutdown hook, uses
      * reflection to ensure pre-JDK 1.3 compatibility.
      */
     private void addShutdownHook() {
@@ -88,7 +88,7 @@ public class ShutdownHookProcessDestroye
     }
 
     /**
-     * Removes this <code>ProcessDestroyer</code> as a shutdown hook, uses
+     * Removes this {@code ProcessDestroyer} as a shutdown hook, uses
      * reflection to ensure pre-JDK 1.3 compatibility
      */
     private void removeShutdownHook() {
@@ -129,12 +129,12 @@ public class ShutdownHookProcessDestroye
     }
 
     /**
-     * Returns <code>true</code> if the specified <code>Process</code>
was
+     * Returns {@code true} if the specified {@code Process} was
      * successfully added to the list of processes to destroy upon VM exit.
      *
      * @param process
      *            the process to add
-     * @return <code>true</code> if the specified <code>Process</code>
was
+     * @return {@code true} if the specified {@code Process} was
      *         successfully added
      */
     public boolean add(final Process process) {
@@ -149,12 +149,12 @@ public class ShutdownHookProcessDestroye
     }
 
     /**
-     * Returns <code>true</code> if the specified <code>Process</code>
was
+     * Returns {@code true} if the specified {@code Process} was
      * successfully removed from the list of processes to destroy upon VM exit.
      *
      * @param process
      *            the process to remove
-     * @return <code>true</code> if the specified <code>Process</code>
was
+     * @return {@code true} if the specified {@code Process} was
      *         successfully removed
      */
     public boolean remove(final Process process) {

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/Watchdog.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/Watchdog.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/Watchdog.java (original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/Watchdog.java Sat Nov
 1 21:12:52 2014
@@ -22,7 +22,7 @@ import java.util.Enumeration;
 import java.util.Vector;
 
 /**
- * Generalization of <code>ExecuteWatchdog</code>
+ * Generalization of {@code ExecuteWatchdog}
  * 
  * @see org.apache.commons.exec.ExecuteWatchdog
  *

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java
(original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java
Sat Nov  1 21:12:52 2014
@@ -213,7 +213,7 @@ public class DefaultProcessingEnvironmen
      * case-insensitive.
      *
      * @return The map for storage of environment variables, never
-     *         <code>null</code>.
+     *         {@code null}.
      */
     private Map<String, String> createEnvironmentMap() {
         if (OS.isFamilyWindows()) {

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/EnvironmentUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/EnvironmentUtils.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/EnvironmentUtils.java
(original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/EnvironmentUtils.java
Sat Nov  1 21:12:52 2014
@@ -52,9 +52,9 @@ public class EnvironmentUtils
     /**
      * Get the variable list as an array.
      *
-     * @param environment the environment to use, may be <code>null</code>
-     * @return array of key=value assignment strings or <code>null</code> if
and only if
-     *     the input map was <code>null</code>
+     * @param environment the environment to use, may be {@code null}
+     * @return array of key=value assignment strings or {@code null} if and only if
+     *     the input map was {@code null}
      */
     public static String[] toStrings(final Map<String, String> environment) {
         if (environment == null) {
@@ -77,7 +77,7 @@ public class EnvironmentUtils
      * current platform during lookup, e.g. key names will be case-insensitive on Windows
      * platforms.
      *
-     * @return a map containing the environment variables, may be empty but never <code>null</code>
+     * @return a map containing the environment variables, may be empty but never {@code
null}
      * @throws IOException the operation failed
      */
     public static Map<String, String> getProcEnvironment() throws IOException {

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/OpenVmsProcessingEnvironment.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/OpenVmsProcessingEnvironment.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/OpenVmsProcessingEnvironment.java
(original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/OpenVmsProcessingEnvironment.java
Sat Nov  1 21:12:52 2014
@@ -71,8 +71,8 @@ public class OpenVmsProcessingEnvironmen
 //
 //    /**
 //     * This method is VMS specific and used by getProcEnvironment(). Parses VMS
-//     * symbols from <code>in</code> and adds them to <code>environment</code>.
-//     * <code>in</code> is expected to be the output of "SHOW SYMBOL/GLOBAL
*".
+//     * symbols from {@code in} and adds them to {@code environment}.
+//     * {@code in} is expected to be the output of "SHOW SYMBOL/GLOBAL *".
 //     *
 //     * @param environment the current environment
 //     * @param in the reader from the process to determine VMS env variables

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/launcher/CommandLauncher.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/launcher/CommandLauncher.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/launcher/CommandLauncher.java
(original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/launcher/CommandLauncher.java
Sat Nov  1 21:12:52 2014
@@ -70,7 +70,7 @@ public interface CommandLauncher {
 
 
     /**
-     * Checks whether <code>exitValue</code> signals a failure on the current
+     * Checks whether {@code exitValue} signals a failure on the current
      * system (OS specific).
      * <p>
      * <b>Note</b> that this method relies on the conventions of the OS, it
@@ -82,7 +82,7 @@ public interface CommandLauncher {
      * </p>
      *
      * @param exitValue the exit value (return code) to be checked
-     * @return <code>true</code> if <code>exitValue</code> signals
a failure
+     * @return {@code true} if {@code exitValue} signals a failure
      */
     boolean isFailure(final int exitValue);
 }

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/launcher/VmsCommandLauncher.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/launcher/VmsCommandLauncher.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/launcher/VmsCommandLauncher.java
(original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/launcher/VmsCommandLauncher.java
Sat Nov  1 21:12:52 2014
@@ -54,7 +54,7 @@ public class VmsCommandLauncher extends 
     /**
      * Launches the given command in a new process, in the given working
      * directory. Note that under Java 1.3.1, 1.4.0 and 1.4.1 on VMS this method
-     * only works if <code>workingDir</code> is null or the logical
+     * only works if {@code workingDir} is null or the logical
      * JAVA$FORK_SUPPORT_CHDIR needs to be set to TRUE.
      */
     @Override

Modified: commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/DefaultExecutorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/DefaultExecutorTest.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/DefaultExecutorTest.java
(original)
+++ commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/DefaultExecutorTest.java
Sat Nov  1 21:12:52 2014
@@ -111,7 +111,7 @@ public class DefaultExecutorTest {
     /**
      * The simplest possible test - start a script and
      * check that the output was pumped into our
-     * <code>ByteArrayOutputStream</code>.
+     * {@code ByteArrayOutputStream}.
      *
      * @throws Exception the test failed
      */

Modified: commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/TutorialTest.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/TutorialTest.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/TutorialTest.java (original)
+++ commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/TutorialTest.java Sat
Nov  1 21:12:52 2014
@@ -31,8 +31,8 @@ import org.junit.Test;
  * An example based on the tutorial where the user can can safely play with
  * <ul>
  *  <li>blocking or non-blocking print jobs
- *  <li>with print job timeouts to trigger the <code>ExecuteWatchdog</code>
- *  <li>with the <code>exitValue</code> returned from the print script
+ *  <li>with print job timeouts to trigger the {@code ExecuteWatchdog}
+ *  <li>with the {@code exitValue} returned from the print script
  * </ul>
  *
  * @version $Id$

Modified: commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/environment/EnvironmentUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/environment/EnvironmentUtilsTest.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/environment/EnvironmentUtilsTest.java
(original)
+++ commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/environment/EnvironmentUtilsTest.java
Sat Nov  1 21:12:52 2014
@@ -41,7 +41,7 @@ public class EnvironmentUtilsTest {
 
     /**
      * Tests the behaviour of the EnvironmentUtils.toStrings()
-     * when using a <code>null</code> environment.
+     * when using a {@code null} environment.
      */
     @Test
     public void testToStrings() {
@@ -129,7 +129,7 @@ public class EnvironmentUtilsTest {
 
     /**
      * Tests the behavior of the EnvironmentUtils.toStrings()
-     * when using a <code>null</code> key given to the map.
+     * when using a {@code null} key given to the map.
      */
     @Test
     public void testToStringWithNullKey() {
@@ -142,7 +142,7 @@ public class EnvironmentUtilsTest {
 
     /**
      * Tests the behavior of the EnvironmentUtils.toStrings()
-     * when using a <code>null</code> value given to the map.
+     * when using a {@code null} value given to the map.
      */
     @Test
     public void testToStringWithNullValue() {

Modified: commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec34Test.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec34Test.java?rev=1636056&r1=1636055&r2=1636056&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec34Test.java
(original)
+++ commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec34Test.java
Sat Nov  1 21:12:52 2014
@@ -68,7 +68,7 @@ public class Exec34Test {
 
     /**
      * Some user waited for an asynchronous process using watchdog.isWatching() which
-     * is now properly implemented  using <code>DefaultExecuteResultHandler</code>.
+     * is now properly implemented  using {@code DefaultExecuteResultHandler}.
      *
      * @throws Exception the test failed
      */



Mime
View raw message