[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] Updated: (IO-167) Fix case-insensitive string handling
From:       "Niall Pemberton (JIRA)" <jira () apache ! org>
Date:       2008-05-30 15:18:44
Message-ID: 1137142116.1212160724998.JavaMail.jira () brutus
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/IO-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Niall Pemberton updated IO-167:
-------------------------------

    Attachment: IO-167-checkIndexOf.patch

Heres my suggestion to change wildcard matching:
 * add a new checkIndexOf() method to IOCase
 * change the FilenameUtils wildcardMatch() method to use IOCase's \
checkRegionMatches() and checkIndexOf() method which use String's underlying \
regionMatches() method http://tinyurl.com/252m3k

> Fix case-insensitive string handling
> ------------------------------------
> 
> Key: IO-167
> URL: https://issues.apache.org/jira/browse/IO-167
> Project: Commons IO
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Benjamin Bentmann
> Fix For: 2.0
> 
> Attachments: IO-167-a.patch, IO-167-checkIndexOf.patch, IO-167.patch, IO-167.patch
> 
> 
> Case-insensitive operations are currently platform-dependent, please see [Common \
> Bug #3|http://www.nabble.com/Re%3A-Common-Bugs-p14931921s177.html] for details.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic