Author: peterreilly
Date: Sat Aug 11 03:45:19 2007
New Revision: 564891
URL: http://svn.apache.org/viewvc?view=rev&rev=564891
Log:
checkstyle: remove trailing ws
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/ComponentHelper.java
ant/core/trunk/src/main/org/apache/tools/ant/IntrospectionHelper.java
ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java
ant/core/trunk/src/main/org/apache/tools/ant/listener/BigProjectLogger.java
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javac.java
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Length.java
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ManifestTask.java
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/FailureRecorder.java
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/WLRmic.java
ant/core/trunk/src/main/org/apache/tools/ant/types/Permissions.java
ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java
ant/core/trunk/src/main/org/apache/tools/ant/util/ReflectUtil.java
ant/core/trunk/src/main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java
Modified: ant/core/trunk/src/main/org/apache/tools/ant/ComponentHelper.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/ComponentHelper.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/ComponentHelper.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/ComponentHelper.java Sat Aug
11 03:45:19 2007
@@ -418,7 +418,7 @@
/**
* This returns a list of restricted definitions for a name.
- * @param componentName the name to use.
+ * @param componentName the name to use.
* @return the list of restricted definitions for a particular name.
*/
public List getRestrictedDefinitions(String componentName) {
Modified: ant/core/trunk/src/main/org/apache/tools/ant/IntrospectionHelper.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/IntrospectionHelper.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/IntrospectionHelper.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/IntrospectionHelper.java Sat
Aug 11 03:45:19 2007
@@ -1400,7 +1400,7 @@
MethodAndObject methodAndObject
= restricted != null ? restricted : topLevel;
-
+
Object rObject = methodAndObject.object;
if (methodAndObject.object instanceof PreSetDef.PreSetDefinition) {
rObject = ((PreSetDef.PreSetDefinition) methodAndObject.object)
@@ -1408,7 +1408,7 @@
}
final Object nestedObject = methodAndObject.object;
final Object realObject = rObject;
-
+
return new NestedCreator(methodAndObject.method) {
Object create(Project project, Object parent, Object ignore)
throws InvocationTargetException, IllegalAccessException {
Modified: ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java Sat Aug 11
03:45:19 2007
@@ -300,7 +300,7 @@
}
return sb.toString(URI_ENCODING);
}
-
+
/**
* Encodes an Uri with % characters.
* The URI is escaped
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/listener/BigProjectLogger.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/listener/BigProjectLogger.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/listener/BigProjectLogger.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/listener/BigProjectLogger.java
Sat Aug 11 03:45:19 2007
@@ -162,7 +162,7 @@
/**
* Override point: return the footer string for the entry/exit message
- * @return the footer string
+ * @return the footer string
*/
protected String getFooter() {
return FOOTER;
Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java Sat Aug
11 03:45:19 2007
@@ -153,7 +153,7 @@
protected void setRestrict(boolean restrict) {
this.restrict = restrict;
}
-
+
/**
* What to do if there is an error in loading the class.
Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javac.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javac.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javac.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javac.java Sat Aug 11
03:45:19 2007
@@ -836,7 +836,7 @@
public boolean isIncludeDestClasses() {
return includeDestClasses;
}
-
+
/**
* Get the result of the javac task (success or failure).
* @return true if compilation succeeded, or
Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Length.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Length.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Length.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Length.java Sat Aug
11 03:45:19 2007
@@ -188,7 +188,7 @@
Long ell;
if (STRING.equals(mode)) {
ell = new Long(getLength(string, getTrim()));
- } else {
+ } else {
AccumHandler h = new AccumHandler();
handleResources(h);
ell = new Long(h.getAccum());
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ManifestTask.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ManifestTask.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ManifestTask.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ManifestTask.java Sat
Aug 11 03:45:19 2007
@@ -49,7 +49,7 @@
* Specifies the valid characters which can be used in attribute names.
* [EMAIL PROTECTED]
*/
- public final String VALID_ATTRIBUTE_CHARS =
+ public final String VALID_ATTRIBUTE_CHARS =
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345679-_";
/**
@@ -126,18 +126,18 @@
/**
* Checks the attribute agains the Jar-specification.
- *
+ *
* Jar-Specification <i>"Name-Value pairs and Sections"</i>: <pre>
- * name: alphanum *headerchar
- * alphanum: {A-Z} | {a-z} | {0-9}
+ * name: alphanum *headerchar
+ * alphanum: {A-Z} | {a-z} | {0-9}
* headerchar: alphanum | - | _
* </pre>
* So the resulting regexp would be <tt>[A-Za-z0-9][A-Za-z0-9-_]*</tt>.
- *
+ *
* Because of JDK 1.2 compliance and the possible absence of a
* regexp matcher we can not use regexps here. Instead we have to
* check each character.
- *
+ *
* @param attribute The attribute to check
* @throws BuildException if the check fails
*/
@@ -148,7 +148,7 @@
if (ch == '-' || ch == '_') {
throw new BuildException("Manifest attribute names must not start
with '" + ch + "'.");
}
-
+
for (int i = 0; i < name.length(); i++) {
ch = name.charAt(i);
if (VALID_ATTRIBUTE_CHARS.indexOf(ch) < 0) {
@@ -156,7 +156,7 @@
}
}
}
-
+
/**
* The name of the manifest file to create/update.
* Required if used as a task.
Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java Sat Aug
11 03:45:19 2007
@@ -515,7 +515,7 @@
/**
* Loads the properties defined in the InputStream into the given
- * property. On Java5+ it supports reading from XML based property
+ * property. On Java5+ it supports reading from XML based property
* definition.
* @param props The property object to load into
* @param is The input stream from where to load
@@ -527,7 +527,7 @@
*/
private void loadProperties(Properties props, InputStream is, boolean
isXml) throws IOException {
if (isXml) {
- // load the xml based property definition
+ // load the xml based property definition
// use reflection because of bwc to Java 1.3
try {
Method loadXmlMethod =
props.getClass().getMethod("loadFromXML",
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/FailureRecorder.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/FailureRecorder.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
---
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/FailureRecorder.java
(original)
+++
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/FailureRecorder.java
Sat Aug 11 03:45:19 2007
@@ -17,7 +17,7 @@
import org.apache.tools.ant.util.FileUtils;
/**
- * <p>Collects all failing test <i>cases</i> and creates a new JUnit test
class containing
+ * <p>Collects all failing test <i>cases</i> and creates a new JUnit test
class containing
* a suite() method which calls these failed tests.</p>
* <p>Having classes <i>A</i> ... <i>D</i> with each several testcases you
could earn a new
* test class like
@@ -35,8 +35,8 @@
* return suite;
* }
* }
- * </pre>
- *
+ * </pre>
+ *
* @since Ant 1.7.1
*/
/*
@@ -46,10 +46,10 @@
* at each end of a test suite. The last run will contain all failed tests.
*/
public class FailureRecorder implements JUnitResultFormatter {
-
- /**
- * This is the name of a magic System property ([EMAIL PROTECTED]). The
value of this
- * <b>System</b> property should point to the location where to store the
+
+ /**
+ * This is the name of a magic System property ([EMAIL PROTECTED]). The
value of this
+ * <b>System</b> property should point to the location where to store the
* generated class (without suffix).
* Default location and name is defined in DEFAULT_CLASS_LOCATION.
* @see #DEFAULT_CLASS_LOCATION
@@ -58,19 +58,19 @@
/** Default location and name for the generated JUnit class file. [EMAIL
PROTECTED] */
public static final String DEFAULT_CLASS_LOCATION =
System.getProperty("java.io.tmpdir") + "FailedTests";
-
+
/** Class names of failed tests without duplicates. */
private static HashSet/*<Test>*/ failedTests = new HashSet();
-
+
/** A writer for writing the generated source to. */
private PrintWriter writer;
-
+
/**
- * Location and name of the generated JUnit class.
+ * Location and name of the generated JUnit class.
* Lazy instantiated via getLocationName().
*/
private static String locationName;
-
+
//TODO: Dont set the locationName via System.getProperty - better
// via Ant properties. But how to access these?
private String getLocationName() {
@@ -82,7 +82,7 @@
}
/**
- * After each test suite, the whole new JUnit class will be regenerated.
+ * After each test suite, the whole new JUnit class will be regenerated.
* @see
org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter#endTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest)
*/
public void endTestSuite(JUnitTest suite) throws BuildException {
@@ -102,13 +102,13 @@
}
createTestSuiteFooter();
createClassFooter();
-
+
FileUtils.close(writer);
} catch (FileNotFoundException e) {
e.printStackTrace();
}
}
-
+
public void addError(Test test, Throwable throwable) {
failedTests.add(test);
}
@@ -140,9 +140,9 @@
public void startTest(Test test) {
// not in use
}
-
+
// "Templates" for generating the JUnit class
-
+
private void createClassHeader() {
String className = getLocationName().replace('\\', '/');
if (className.indexOf('/') > -1) {
@@ -163,12 +163,12 @@
writer.println(" super(s);");
writer.println(" }");
}
-
+
private void createTestSuiteHeader() {
writer.println(" public static Test suite() {");
writer.println(" TestSuite suite = new TestSuite();");
}
-
+
private void createAddTestToSuite(Test test) {
writer.print(" suite.addTest( new ");
writer.print( getClassName(test) );
@@ -181,13 +181,13 @@
writer.println(" return suite;");
writer.println(" }");
}
-
+
private void createClassFooter() {
writer.println("}");
}
-
+
// Helper methods
-
+
private String getMethodName(Test test) {
String methodName = test.toString();
return methodName.substring(0, methodName.indexOf('('));
@@ -196,5 +196,5 @@
private String getClassName(Test test) {
return test.getClass().getName();
}
-
+
}
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
---
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java
(original)
+++
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java
Sat Aug 11 03:45:19 2007
@@ -56,7 +56,7 @@
private String outputProperty = null; // like <exec>
private File outputFile = null; // like <exec>
private boolean append = false; // like <exec>
-
+
private Resource commandResource = null;
private static final String TIMEOUT_MESSAGE =
@@ -86,7 +86,7 @@
public void setCommandResource(String f) {
this.commandResource = new FileResource(new File(f));
}
-
+
/**
* The connection can be dropped after a specified number of
* milliseconds. This is sometimes useful when a connection may be
@@ -166,7 +166,7 @@
}
}
}
-
+
private void executeCommand(String cmd) throws BuildException {
ByteArrayOutputStream out = new ByteArrayOutputStream();
TeeOutputStream tee = new TeeOutputStream(out, new
KeepAliveOutputStream(System.out));
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
---
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java
(original)
+++
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java
Sat Aug 11 03:45:19 2007
@@ -275,7 +275,7 @@
/**
* Strip out all -J args from the command list. Invoke this from
* [EMAIL PROTECTED] #preprocessCompilerArgs(String[])} if you have a
non-forking
- * compiler.
+ * compiler.
* @param compilerArgs the original compiler arguments
* @return the filtered set.
*/
Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/WLRmic.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/WLRmic.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/WLRmic.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/WLRmic.java Sat
Aug 11 03:45:19 2007
@@ -115,5 +115,5 @@
*/
protected String[] preprocessCompilerArgs(String[] compilerArgs) {
return filterJvmCompilerArgs(compilerArgs);
- }
+ }
}
Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/Permissions.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/Permissions.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/types/Permissions.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/types/Permissions.java Sat Aug
11 03:45:19 2007
@@ -51,7 +51,7 @@
private SecurityManager origSm = null;
private boolean active = false;
private boolean delegateToOldSM;
-
+
// Mandatory constructor for permission object.
private static final Class[] PARAMS = { String.class, String.class };
Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java Sat Aug 11
03:45:19 2007
@@ -171,13 +171,13 @@
/**
* Convenience method to copy a file from a source to a destination
specifying if token
* filtering must be used and if source files may overwrite newer
destination files.
- *
+ *
* @param sourceFile Name of file to copy from. Must not be
<code>null</code>.
* @param destFile Name of file to copy to. Must not be <code>null</code>.
* @param filters the collection of filters to apply to this copy.
* @param overwrite Whether or not the destination file should be
overwritten if it already
* exists.
- *
+ *
* @throws IOException if the copying fails.
*/
public void copyFile(String sourceFile, String destFile,
FilterSetCollection filters,
@@ -190,7 +190,7 @@
* filtering must be used, if source files may overwrite newer destination
files and the last
* modified time of <code>destFile</code> file should be made equal to the
last modified time
* of <code>sourceFile</code>.
- *
+ *
* @param sourceFile Name of file to copy from. Must not be
<code>null</code>.
* @param destFile Name of file to copy to. Must not be <code>null</code>.
* @param filters the collection of filters to apply to this copy.
@@ -198,7 +198,7 @@
* exists.
* @param preserveLastModified Whether or not the last modified time of
the resulting file
* should be set to that of the source file.
- *
+ *
* @throws IOException if the copying fails.
*/
public void copyFile(String sourceFile, String destFile,
FilterSetCollection filters,
@@ -211,7 +211,7 @@
* filtering must be used, if source files may overwrite newer destination
files and the last
* modified time of <code>destFile</code> file should be made equal to the
last modified time
* of <code>sourceFile</code>.
- *
+ *
* @param sourceFile Name of file to copy from. Must not be
<code>null</code>.
* @param destFile Name of file to copy to. Must not be <code>null</code>.
* @param filters the collection of filters to apply to this copy.
@@ -220,9 +220,9 @@
* @param preserveLastModified Whether or not the last modified time of
the resulting file
* should be set to that of the source file.
* @param encoding the encoding used to read and write the files.
- *
+ *
* @throws IOException if the copying fails.
- *
+ *
* @since Ant 1.5
*/
public void copyFile(String sourceFile, String destFile,
@@ -272,7 +272,7 @@
* filtering must be used, if filter chains must be used, if source files
may overwrite newer
* destination files and the last modified time of <code>destFile</code>
file should be made
* equal to the last modified time of <code>sourceFile</code>.
- *
+ *
* @param sourceFile Name of file to copy from. Must not be
<code>null</code>.
* @param destFile Name of file to copy to. Must not be <code>null</code>.
* @param filters the collection of filters to apply to this copy.
@@ -284,9 +284,9 @@
* @param inputEncoding the encoding used to read the files.
* @param outputEncoding the encoding used to write the files.
* @param project the project instance.
- *
+ *
* @throws IOException if the copying fails.
- *
+ *
* @since Ant 1.6
*/
public void copyFile(String sourceFile, String destFile,
@@ -300,10 +300,10 @@
/**
* Convenience method to copy a file from a source to a destination. No
filtering is performed.
- *
+ *
* @param sourceFile the file to copy from. Must not be <code>null</code>.
* @param destFile the file to copy to. Must not be <code>null</code>.
- *
+ *
* @throws IOException if the copying fails.
*/
public void copyFile(File sourceFile, File destFile) throws IOException {
@@ -377,7 +377,7 @@
* filtering must be used, if source files may overwrite newer destination
files, the last
* modified time of <code>destFile</code> file should be made equal to the
last modified time
* of <code>sourceFile</code> and which character encoding to assume.
- *
+ *
* @param sourceFile the file to copy from. Must not be <code>null</code>.
* @param destFile the file to copy to. Must not be <code>null</code>.
* @param filters the collection of filters to apply to this copy.
@@ -386,9 +386,9 @@
* @param preserveLastModified Whether or not the last modified time of
the resulting file
* should be set to that of the source file.
* @param encoding the encoding used to read and write the files.
- *
+ *
* @throws IOException if the copying fails.
- *
+ *
* @since Ant 1.5
*/
public void copyFile(File sourceFile, File destFile,
@@ -874,7 +874,7 @@
/**
* This was originally an emulation of [EMAIL PROTECTED]
File#getParentFile} for JDK 1.1, but it is now
* implemented using that method (Ant 1.6.3 onwards).
- *
+ *
* @param f the file whose parent is required.
* @return the given file's parent, or null if the file does not have a
parent.
* @since 1.10
@@ -1183,7 +1183,7 @@
* Get the granularity of file timestamps. The choice is made based on OS,
which is
* incorrect--it should really be by filesystem. We do not have an easy
way to probe for file
* systems, however, so this heuristic gives us a decent default.
- *
+ *
* @return the difference, in milliseconds, which two file timestamps must
have in order for the
* two files to be considered to have different timestamps.
*/
@@ -1290,7 +1290,7 @@
public boolean isUpToDate(long sourceTime, long destTime) {
return isUpToDate(sourceTime, destTime, getFileTimestampGranularity());
}
-
+
/**
* Close a Writer without throwing any exception if something went wrong.
* Do not attempt to close it if the argument is null.
@@ -1371,13 +1371,13 @@
* Implementation note:<br/> This function may throw an IOException if an
I/O error occurs
* because its use of the canonical pathname may require filesystem
queries.
* </p>
- *
+ *
* @param fromFile the <code>File</code> to calculate the path from
* @param toFile the <code>File</code> to calculate the path to
* @return the relative path between the files
* @throws Exception for undocumented reasons
* @see File#getCanonicalPath()
- *
+ *
* @since Ant 1.7
*/
public static String getRelativePath(File fromFile, File toFile) throws
Exception {
@@ -1423,10 +1423,10 @@
/**
* Gets all names of the path as an array of <code>String</code>s.
- *
+ *
* @param path to get names from
* @return <code>String</code>s, never <code>null</code>
- *
+ *
* @since Ant 1.7
*/
public static String[] getPathStack(String path) {
@@ -1444,10 +1444,10 @@
/**
* Gets path from a <code>List</code> of <code>String</code>s.
- *
+ *
* @param pathStack <code>List</code> of <code>String</code>s to be
concatenated as a path.
* @return <code>String</code>, never <code>null</code>
- *
+ *
* @since Ant 1.7
*/
public static String getPath(List pathStack) {
@@ -1457,11 +1457,11 @@
/**
* Gets path from a <code>List</code> of <code>String</code>s.
- *
+ *
* @param pathStack <code>List</code> of <code>String</code>s to be
concated as a path.
* @param separatorChar <code>char</code> to be used as separator between
names in path
* @return <code>String</code>, never <code>null</code>
- *
+ *
* @since Ant 1.7
*/
public static String getPath(final List pathStack, final char
separatorChar) {
Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/ReflectUtil.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/ReflectUtil.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/util/ReflectUtil.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/util/ReflectUtil.java Sat Aug
11 03:45:19 2007
@@ -55,7 +55,7 @@
/**
* Call a method on the object with no parameters.
- * Note: Unlike the invoke method above, this
+ * Note: Unlike the invoke method above, this
* calls class or static methods, not instance methods.
* @param obj the object to invoke the method on.
* @param methodName the name of the method to call
@@ -72,7 +72,7 @@
return null; // NotReached
}
}
-
+
/**
* Call a method on the object with one argument.
* @param obj the object to invoke the method on.
@@ -168,14 +168,14 @@
}
/**
- * A method to test if an object responds to a given
+ * A method to test if an object responds to a given
* message (method call)
* @param o the object
* @param methodName the method to check for
* @return
* @throws BuildException
*/
- public static boolean respondsTo(Object o, String methodName)
+ public static boolean respondsTo(Object o, String methodName)
throws BuildException {
try {
Method[] methods = o.getClass().getMethods();
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java?view=diff&rev=564891&r1=564890&r2=564891
==============================================================================
---
ant/core/trunk/src/main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java
(original)
+++
ant/core/trunk/src/main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java
Sat Aug 11 03:45:19 2007
@@ -26,11 +26,11 @@
/**
* Simple Factory Class that produces an implementation of RegexpMatcher based
on the system
* property <code>ant.regexp.regexpimpl</code> and the classes available.
- *
+ *
* <p>
* In a more general framework this class would be abstract and have a static
newInstance method.
* </p>
- *
+ *
*/
public class RegexpMatcherFactory {
@@ -135,7 +135,7 @@
*/
public static boolean regexpMatcherPresent(Project project) {
try {
- // The factory throws a BuildException if no usable matcher
+ // The factory throws a BuildException if no usable matcher
// cant be instantiated. We dont need the matcher itself here.
new RegexpMatcherFactory().newRegexpMatcher(project);
return true;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]