You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2009/04/26 16:08:42 UTC
svn commit: r768709 - in
/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec:
CommandLine.java environment/DefaultProcessingEnvironment.java
util/StringUtils.java
Author: sebb
Date: Sun Apr 26 14:08:41 2009
New Revision: 768709
URL: http://svn.apache.org/viewvc?rev=768709&view=rev
Log:
Typos: seperator => separator
Modified:
commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/CommandLine.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/util/StringUtils.java
Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/CommandLine.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/CommandLine.java?rev=768709&r1=768708&r2=768709&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/CommandLine.java (original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/CommandLine.java Sun Apr 26 14:08:41 2009
@@ -116,7 +116,7 @@
*/
public String getExecutable() {
// Expand the executable and replace '/' and '\\' with the platform
- // specific file seperator char. This is safe here since we know
+ // specific file separator char. This is safe here since we know
// that this is a platform specific command.
return StringUtils.fixFileSeparatorChar(expandArgument(executable));
}
@@ -392,7 +392,7 @@
/**
* Get the executable - the argument is trimmed and '/' and '\\' are
- * replaced with the platform specific file seperator char
+ * replaced with the platform specific file separator char
*
* @param executable the executable
* @return the platform-specific executable string
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=768709&r1=768708&r2=768709&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 Sun Apr 26 14:08:41 2009
@@ -44,7 +44,7 @@
*/
public class DefaultProcessingEnvironment {
- /** the line seperator of the system */
+ /** the line separator of the system */
private static final String LINE_SEPARATOR = System.getProperty("line.separator");
/** the environment variables of the process */
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=768709&r1=768708&r2=768709&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 Apr 26 14:08:41 2009
@@ -132,7 +132,7 @@
/**
* Split a string into an array of strings based
- * on a a seperator.
+ * on a separator.
*
* @param input what to split
* @param splitChar what to split on
@@ -165,10 +165,10 @@
}
/**
- * Concatenates an array of string using a seperator.
+ * Concatenates an array of string using a separator.
*
* @param strings the strings to concatenate
- * @param separator the seperator between two strings
+ * @param separator the separator between two strings
* @return the concatened strings
*/
public static String toString(String[] strings, String separator) {