Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-863

Recent incompatible change to FileUtils.listFiles re extensions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.18.0
    • Utilities
    • None
    • Linux, Java 21

    Description

      This change modifies the semantics of the extensions parameter to listFiles. Previously, if an entry in the array was "java", that meant to select files that end with ".java". Now it means to select files that end with "java", whether or not there is period before it. I think that was probably unintentional.

      Attachments

        Issue Links

          Activity

            People

              ggregory Gary D. Gregory
              eamonnmcmanus Éamonn McManus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: