commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1636204 - /commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/util/StringUtils.java
Date Sun, 02 Nov 2014 22:30:31 GMT
Author: ggregory
Date: Sun Nov  2 22:30:31 2014
New Revision: 1636204

URL: http://svn.apache.org/r1636204
Log:
Fixes for Javadoc 8.

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

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/util/StringUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/util/StringUtils.java?rev=1636204&r1=1636203&r2=1636204&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/util/StringUtils.java
(original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/util/StringUtils.java
Sun Nov  2 22:30:31 2014
@@ -42,24 +42,29 @@ public class StringUtils {
     private static final char BACKSLASH_CHAR = '\\';
 
     /**
-     * Perform a series of substitutions. The substitutions
-     * are performed by replacing ${variable} in the target
-     * string with the value of provided by the key "variable"
-     * in the provided hash table.
-     * <p/><p/>
+     * Perform a series of substitutions.
+     * <p>
+     * The substitutions are performed by replacing ${variable} in the target string with
the value of provided by the
+     * key "variable" in the provided hash table.
+     * </p>
+     * <p>
      * A key consists of the following characters:
+     * </p>
      * <ul>
-     *   <li>letter
-     *   <li>digit
-     *   <li>dot character
-     *   <li>hyphen character
-     *   <li>plus character
-     *   <li>underscore character
+     * <li>letter
+     * <li>digit
+     * <li>dot character
+     * <li>hyphen character
+     * <li>plus character
+     * <li>underscore character
      * </ul>
      *
-     * @param argStr    the argument string to be processed
-     * @param vars      name/value pairs used for substitution
-     * @param isLenient ignore a key not found in vars or throw a RuntimeException?
+     * @param argStr
+     *            the argument string to be processed
+     * @param vars
+     *            name/value pairs used for substitution
+     * @param isLenient
+     *            ignore a key not found in vars or throw a RuntimeException?
      * @return String target string with replacements.
      */
     public static StringBuffer stringSubstitution(final String argStr, final Map<? super
String, ?> vars, final boolean isLenient) {
@@ -172,8 +177,8 @@ public class StringUtils {
      * using the following replacement.
      * 
      * <ul>
-     *  <li> '/' ==>  File.separatorChar
-     *  <li> '\\' ==>  File.separatorChar
+     *  <li>'/' &#x2192; File.separatorChar</li>
+     *  <li>'\\' &#x2192; File.separatorChar</li>
      * </ul>
      *
      * @param arg the argument to fix



Mime
View raw message