peterreilly    2005/03/11 01:51:46

  Modified:    src/main/org/apache/tools/ant/types AbstractFileSet.java
  Log:
  checkstyle
  
  Revision  Changes    Path
  1.49      +10 -3     
ant/src/main/org/apache/tools/ant/types/AbstractFileSet.java
  
  Index: AbstractFileSet.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/types/AbstractFileSet.java,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- AbstractFileSet.java      9 Mar 2005 22:00:41 -0000       1.48
  +++ AbstractFileSet.java      11 Mar 2005 09:51:46 -0000      1.49
  @@ -99,6 +99,7 @@
        * <p>You must not set another attribute or nest elements inside
        * this element if you make it a reference.</p>
        * @param r the <code>Reference</code> to use.
  +     * @throws BuildException on error
        */
       public void setRefid(Reference r) throws BuildException {
           if (dir != null || defaultPatterns.hasPatterns(getProject())) {
  @@ -116,6 +117,7 @@
       /**
        * Sets the base-directory for this instance.
        * @param dir the directory's <code>File</code> instance.
  +     * @throws BuildException on error
        */
       public synchronized void setDir(File dir) throws BuildException {
           if (isReference()) {
  @@ -292,6 +294,7 @@
        * Sets the <code>File</code> containing the includes patterns.
        *
        * @param incl <code>File</code> instance.
  +     * @throws BuildException on error
        */
       public synchronized void setIncludesfile(File incl) throws 
BuildException {
           if (isReference()) {
  @@ -305,6 +308,7 @@
        * Sets the <code>File</code> containing the excludes patterns.
        *
        * @param excl <code>File</code> instance.
  +     * @throws BuildException on error
        */
       public synchronized void setExcludesfile(File excl) throws 
BuildException {
           if (isReference()) {
  @@ -411,6 +415,7 @@
   
       /**
        * Returns the directory scanner needed to access the files to process.
  +     * @param p the current project
        * @return a <code>DirectoryScanner</code> instance.
        */
       public DirectoryScanner getDirectoryScanner() {
  @@ -496,6 +501,8 @@
       /**
        * Performs the check for circular references and returns the
        * referenced FileSet.
  +     * @param p the current project
  +     * @return the referenced FileSet
        */
       protected AbstractFileSet getRef(Project p) {
           if (!isChecked()) {
  @@ -557,12 +564,12 @@
   
       /**
        * Returns the set of selectors as an array.
  -     *
  +     * @param p the current project
        * @return a <code>FileSelector[]</code> of the selectors in this 
container.
        */
       public synchronized FileSelector[] getSelectors(Project p) {
           return (isReference())
  -            ? getRef(p).getSelectors(p) : (FileSelector[])(selectors.toArray(
  +            ? getRef(p).getSelectors(p) : (FileSelector[]) 
(selectors.toArray(
               new FileSelector[selectors.size()]));
       }
   
  @@ -768,7 +775,7 @@
        * Creates a deep clone of this instance, except for the nested
        * selectors (the list of selectors is a shallow clone of this
        * instance's list).
  -     *
  +     * @return the cloned object
        * @since Ant 1.6
        */
       public synchronized Object clone() {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to