Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-372

Add constructors FileDepthSelector() and FileDepthSelector(int)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0, 2.0
    • Fix Version/s: 2.1
    • Labels:
      None
    • Environment:

      Description

      Add constructors:

          /**
           * 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);
          }
      
      

      Refactor Selectors to match.

        Attachments

          Activity

            People

            • Assignee:
              ggregory Gary Gregory
              Reporter:
              ggregory Gary Gregory
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: