You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Created) (JIRA)" <ji...@apache.org> on 2011/10/31 14:01:34 UTC

[jira] [Created] (VFS-372) Add constructors FileDepthSelector() and FileDepthSelector(int)

Add constructors FileDepthSelector() and FileDepthSelector(int)
---------------------------------------------------------------

                 Key: VFS-372
                 URL: https://issues.apache.org/jira/browse/VFS-372
             Project: Commons VFS
          Issue Type: Improvement
    Affects Versions: 1.0, 2.0
         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
Maven home: C:\Java\apache-maven-3.0.3\bin\..
Java version: 1.7.0_01, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_01\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
            Reporter: Gary D. Gregory
            Assignee: Gary D. Gregory


Add constructors:

{code:java}
    /**
     * Creates a selector with the same minimum and maximum depths of 0.
     */
    public FileDepthSelector()
    {
        this(0, 0);
    }

    /**
     * Creates a selector with the same minimum and maximum depths.
     * 
     * @param minMaxDepth
     *            minimum and maximum depth
     */
    public FileDepthSelector(int minMaxDepth)
    {
        this(minMaxDepth, minMaxDepth);
    }

{code}

Refactor Selectors to match.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (VFS-372) Add constructors FileDepthSelector() and FileDepthSelector(int)

Posted by "Gary D. Gregory (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory resolved VFS-372.
---------------------------------

       Resolution: Fixed
    Fix Version/s: Nightly Builds

Committed revision 1195438.
                
> Add constructors FileDepthSelector() and FileDepthSelector(int)
> ---------------------------------------------------------------
>
>                 Key: VFS-372
>                 URL: https://issues.apache.org/jira/browse/VFS-372
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 1.0, 2.0
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.7.0_01, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_01\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Gary D. Gregory
>             Fix For: Nightly Builds
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Add constructors:
> {code:java}
>     /**
>      * Creates a selector with the same minimum and maximum depths of 0.
>      */
>     public FileDepthSelector()
>     {
>         this(0, 0);
>     }
>     /**
>      * Creates a selector with the same minimum and maximum depths.
>      * 
>      * @param minMaxDepth
>      *            minimum and maximum depth
>      */
>     public FileDepthSelector(int minMaxDepth)
>     {
>         this(minMaxDepth, minMaxDepth);
>     }
> {code}
> Refactor Selectors to match.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira