You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2014/11/02 23:30:31 UTC
svn commit: r1636204 -
/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/util/StringUtils.java
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>'/' → File.separatorChar</li>
+ * <li>'\\' → File.separatorChar</li>
* </ul>
*
* @param arg the argument to fix