commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Khorkov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IO-558) FilenameUtils#directoryContains uses startWith-logic
Date Tue, 28 Nov 2017 07:43:00 GMT
Mikhail Khorkov created IO-558:
----------------------------------

             Summary: FilenameUtils#directoryContains uses startWith-logic
                 Key: IO-558
                 URL: https://issues.apache.org/jira/browse/IO-558
             Project: Commons IO
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 2.6
            Reporter: Mikhail Khorkov


org.apache.commons.io.FilenameUtils#directoryContains uses startWith-logic to find out result.
It is wrong for cases like directoryContains("/a", "/aa").

In patch:
# improve the method logic
# write tests for the method
# clean up the method's javaDoc



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message