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

SymbolicLinkFileFilter accepts all files, not just symbolic links

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.11.0
    • None
    • Filters
    • None
    • Tested on MacOS.

    Description

      SymbolicLinkFileFilter is underwritten. When used as a FileFilter or FileName filter, it passes all files, not just Symbolic Links. As a PathFilter, it works fine.
      The failing method is this:

      public boolean accept(final File file)

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              SwingGuy1024@yahoo.com Miguel Munoz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified