ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject svn commit: r564892 - in /ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant: ./ launch/ listener/ taskdefs/ taskdefs/optional/ssh/ taskdefs/rmic/ types/ util/ util/regexp/
Date Sat, 11 Aug 2007 10:46:35 GMT
Author: peterreilly
Date: Sat Aug 11 03:46:34 2007
New Revision: 564892

URL: http://svn.apache.org/viewvc?view=rev&rev=564892
Log:
checkstyle: remove trailing ws

Modified:
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/AntClassLoader.java
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/ComponentHelper.java
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/IntrospectionHelper.java
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/launch/Locator.java
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/listener/BigProjectLogger.java
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/Javac.java
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/Length.java
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/ManifestTask.java
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/Retry.java
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/rmic/WLRmic.java
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/types/Permissions.java
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/util/FileUtils.java
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/util/ReflectUtil.java
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java

Modified: ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/AntClassLoader.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/AntClassLoader.java?view=diff&rev=564892&r1=564891&r2=564892
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/AntClassLoader.java (original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/AntClassLoader.java Sat
Aug 11 03:46:34 2007
@@ -851,11 +851,11 @@
      * resource before this one. If the resource matches both the "use parent
      * classloader first" and the "use this classloader first" lists, the latter
      * takes priority.
-     * 
+     *
      * @param resourceName
      *            The name of the resource to check. Must not be
      *            <code>null</code>.
-     * 
+     *
      * @return whether or not the parent classloader should be checked for a
      *         resource before this one is.
      */

Modified: ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/ComponentHelper.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/ComponentHelper.java?view=diff&rev=564892&r1=564891&r2=564892
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/ComponentHelper.java (original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/ComponentHelper.java Sat
Aug 11 03:46:34 2007
@@ -1011,7 +1011,7 @@
      */
     private static class AntTypeTable extends Hashtable {
         private static final long serialVersionUID = -3060442320477772028L;
-        
+
         private Project project;
 
         AntTypeTable(Project project) {

Modified: ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/IntrospectionHelper.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/IntrospectionHelper.java?view=diff&rev=564892&r1=564891&r2=564892
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/IntrospectionHelper.java
(original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/IntrospectionHelper.java
Sat Aug 11 03:46:34 2007
@@ -44,7 +44,7 @@
  * Ant XML and Java class instances. This is not the best place for someone new
  * to Ant to start contributing to the codebase, as a change here can break the
  * entire system in interesting ways. Always run a full test of Ant before checking
- * in/submitting changes to this file.  
+ * in/submitting changes to this file.
  *
  * The class is final and has a private constructor.
  * To get an instance for a specific (class,project) combination, use {@link #getHelper(Project,Class)}.

Modified: ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/launch/Locator.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/launch/Locator.java?view=diff&rev=564892&r1=564891&r2=564892
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/launch/Locator.java (original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/launch/Locator.java Sat
Aug 11 03:46:34 2007
@@ -300,7 +300,7 @@
         }
         return sb.toString(URI_ENCODING);
     }
-    
+
     /**
      * Encodes an Uri with % characters.
      * The URI is escaped

Modified: ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/listener/BigProjectLogger.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/listener/BigProjectLogger.java?view=diff&rev=564892&r1=564891&r2=564892
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/listener/BigProjectLogger.java
(original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/listener/BigProjectLogger.java
Sat Aug 11 03:46:34 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/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/Javac.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/Javac.java?view=diff&rev=564892&r1=564891&r2=564892
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/Javac.java (original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/Javac.java Sat
Aug 11 03:46:34 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/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/Length.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/Length.java?view=diff&rev=564892&r1=564891&r2=564892
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/Length.java (original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/Length.java Sat
Aug 11 03:46:34 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/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/ManifestTask.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/ManifestTask.java?view=diff&rev=564892&r1=564891&r2=564892
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/ManifestTask.java
(original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/ManifestTask.java
Sat Aug 11 03:46:34 2007
@@ -49,7 +49,7 @@
      * Specifies the valid characters which can be used in attribute names.
      * {@value}
      */
-    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/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/Retry.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/Retry.java?view=diff&rev=564892&r1=564891&r2=564892
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/Retry.java (original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/Retry.java Sat
Aug 11 03:46:34 2007
@@ -31,19 +31,19 @@
      * task to execute n times
      */
     private Task nestedTask;
-    
+
     /**
      * set retryCount to 1 by default
      */
     private int retryCount = 1;
-    
+
     /**
      * set the task
      */
     public void addTask(Task t) {
         nestedTask = t;
     }
-    
+
     /**
      * set the number of times to retry the task
      * @param n
@@ -51,7 +51,7 @@
     public void setRetryCount(int n) {
         retryCount = n;
     }
-    
+
     /**
      * perform the work
      */

Modified: ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java?view=diff&rev=564892&r1=564891&r2=564892
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java
(original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java
Sat Aug 11 03:46:34 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/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java?view=diff&rev=564892&r1=564891&r2=564892
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java
(original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java
Sat Aug 11 03:46:34 2007
@@ -275,7 +275,7 @@
     /**
      * Strip out all -J args from the command list. Invoke this from
      * {@link #preprocessCompilerArgs(String[])} if you have a non-forking
-     * compiler. 
+     * compiler.
      * @param compilerArgs the original compiler arguments
      * @return the filtered set.
      */

Modified: ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/rmic/WLRmic.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/rmic/WLRmic.java?view=diff&rev=564892&r1=564891&r2=564892
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/rmic/WLRmic.java
(original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/rmic/WLRmic.java
Sat Aug 11 03:46:34 2007
@@ -115,5 +115,5 @@
      */
     protected String[] preprocessCompilerArgs(String[] compilerArgs) {
         return filterJvmCompilerArgs(compilerArgs);
-    }    
+    }
 }

Modified: ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/types/Permissions.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/types/Permissions.java?view=diff&rev=564892&r1=564891&r2=564892
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/types/Permissions.java (original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/types/Permissions.java Sat
Aug 11 03:46:34 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/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/util/FileUtils.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/util/FileUtils.java?view=diff&rev=564892&r1=564891&r2=564892
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/util/FileUtils.java (original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/util/FileUtils.java Sat
Aug 11 03:46:34 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 {@link 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/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/util/ReflectUtil.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/util/ReflectUtil.java?view=diff&rev=564892&r1=564891&r2=564892
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/util/ReflectUtil.java (original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/util/ReflectUtil.java Sat
Aug 11 03:46:34 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/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java?view=diff&rev=564892&r1=564891&r2=564892
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java
(original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java
Sat Aug 11 03:46:34 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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message