You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2013/04/08 00:00:26 UTC
svn commit: r1465476 - in /commons/proper/io/trunk/src: changes/changes.xml
main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java
Author: sebb
Date: Sun Apr 7 22:00:26 2013
New Revision: 1465476
URL: http://svn.apache.org/r1465476
Log:
IO-374 WildcardFileFilter ctors should not use null to mean IOCase.SENSITIVE when delegating to other ctors
Modified:
commons/proper/io/trunk/src/changes/changes.xml
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java
Modified: commons/proper/io/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/changes/changes.xml?rev=1465476&r1=1465475&r2=1465476&view=diff
==============================================================================
--- commons/proper/io/trunk/src/changes/changes.xml (original)
+++ commons/proper/io/trunk/src/changes/changes.xml Sun Apr 7 22:00:26 2013
@@ -47,6 +47,9 @@ The <action> type attribute can be add,u
<body>
<!-- The release date is the date RC is cut -->
<release version="2.5" date="2013-??-??" description="New features and bug fixes.">
+ <action issue="IO-374" dev="sebb" type="fix">
+ WildcardFileFilter ctors should not use null to mean IOCase.SENSITIVE when delegating to other ctors
+ </action>
<action issue="IO-362" dev="ggregory" type="fix" due-to="mmadson, ggregory">
IOUtils.contentEquals* methods returns false if input1 == input2, should return true.
</action>
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java?rev=1465476&r1=1465475&r2=1465476&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java Sun Apr 7 22:00:26 2013
@@ -62,7 +62,7 @@ public class WildcardFileFilter extends
* @throws IllegalArgumentException if the pattern is null
*/
public WildcardFileFilter(final String wildcard) {
- this(wildcard, null);
+ this(wildcard, IOCase.SENSITIVE);
}
/**
@@ -88,7 +88,7 @@ public class WildcardFileFilter extends
* @throws IllegalArgumentException if the pattern array is null
*/
public WildcardFileFilter(final String[] wildcards) {
- this(wildcards, null);
+ this(wildcards, IOCase.SENSITIVE);
}
/**
@@ -116,7 +116,7 @@ public class WildcardFileFilter extends
* @throws ClassCastException if the list does not contain Strings
*/
public WildcardFileFilter(final List<String> wildcards) {
- this(wildcards, null);
+ this(wildcards, IOCase.SENSITIVE);
}
/**