IO-374 WildcardFileFilter ctors should not use null to mean IOCase.SENSITIVE when delegating to other ctors

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1465476 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 299dd41..c74ae8e 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -47,6 +47,9 @@
   <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>            
diff --git a/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java
index a47192f..f1a4668 100644
--- a/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java
@@ -62,7 +62,7 @@
      * @throws IllegalArgumentException if the pattern is null
      */
     public WildcardFileFilter(final String wildcard) {
-        this(wildcard, null);
+        this(wildcard, IOCase.SENSITIVE);
     }
 
     /**
@@ -88,7 +88,7 @@
      * @throws IllegalArgumentException if the pattern array is null
      */
     public WildcardFileFilter(final String[] wildcards) {
-        this(wildcards, null);
+        this(wildcards, IOCase.SENSITIVE);
     }
 
     /**
@@ -116,7 +116,7 @@
      * @throws ClassCastException if the list does not contain Strings
      */
     public WildcardFileFilter(final List<String> wildcards) {
-        this(wildcards, null);
+        this(wildcards, IOCase.SENSITIVE);
     }
 
     /**