commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: svn commit: r587916 - in /commons/proper/io/trunk: ./ src/java/org/apache/commons/io/filefilter/
Date Wed, 24 Oct 2007 17:22:07 GMT
On 24/10/2007, niallp@apache.org <niallp@apache.org> wrote:
> Author: niallp
> Date: Wed Oct 24 08:53:07 2007
> New Revision: 587916
>
> URL: http://svn.apache.org/viewvc?rev=587916&view=rev
> Log:
> IO-131 Implement java.io.Serializable in IOFileFilter implementations
>
> Modified:
>    commons/proper/io/trunk/RELEASE-NOTES.txt
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AgeFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/CanReadFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/DelegateFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/EmptyFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/FalseFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/FileFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/HiddenFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NameFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NotFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/OrFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/PrefixFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/RegexFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/SizeFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/SuffixFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/TrueFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/WildcardFileFilter.java
>    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/WildcardFilter.java
>
> Modified: commons/proper/io/trunk/RELEASE-NOTES.txt
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/RELEASE-NOTES.txt?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/RELEASE-NOTES.txt (original)
> +++ commons/proper/io/trunk/RELEASE-NOTES.txt Wed Oct 24 08:53:07 2007
> @@ -54,6 +54,9 @@
>  - DeferredFileOutputStream [IO-130]
>   - Add support for temporary files
>
> +- Make IOFileFilter implementations Serializable [IO-131]
> +
> +
>  Feedback
>  --------
>  Open source works best when you give feedback:
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AgeFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AgeFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AgeFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AgeFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -18,6 +18,7 @@
>
>  import java.io.File;
>  import java.util.Date;
> +import java.io.Serializable;
>
>  import org.apache.commons.io.FileUtils;
>
> @@ -42,7 +43,7 @@
>  * @version $Id$
>  * @since Commons IO 1.2
>  */
> -public class AgeFileFilter extends AbstractFileFilter {
> +public class AgeFileFilter extends AbstractFileFilter implements Serializable {
>
>     /** The cutoff time threshold. */
>     private long cutoff;
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -21,6 +21,7 @@
>  import java.util.Collections;
>  import java.util.Iterator;
>  import java.util.List;
> +import java.io.Serializable;
>
>  /**
>  * A {@link java.io.FileFilter} providing conditional AND logic across a list of
> @@ -36,7 +37,7 @@
>  */
>  public class AndFileFilter
>         extends AbstractFileFilter
> -        implements ConditionalFileFilter {
> +        implements ConditionalFileFilter, Serializable {
>
>     /** The list of file filters. */
>     private List fileFilters;
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/CanReadFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/CanReadFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/CanReadFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/CanReadFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -17,6 +17,7 @@
>  package org.apache.commons.io.filefilter;
>
>  import java.io.File;
> +import java.io.Serializable;
>
>  /**
>  * This filter accepts <code>File</code>s that can be read.
> @@ -59,7 +60,7 @@
>  * @since Commons IO 1.3
>  * @version $Revision$
>  */
> -public class CanReadFileFilter extends AbstractFileFilter {
> +public class CanReadFileFilter extends AbstractFileFilter implements Serializable {
>
>     /** Singleton instance of <i>readable</i> filter */
>     public static final IOFileFilter CAN_READ = new CanReadFileFilter();
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -17,6 +17,7 @@
>  package org.apache.commons.io.filefilter;
>
>  import java.io.File;
> +import java.io.Serializable;
>
>  /**
>  * This filter accepts <code>File</code>s that can be written to.
> @@ -51,7 +52,7 @@
>  * @since Commons IO 1.3
>  * @version $Revision$
>  */
> -public class CanWriteFileFilter extends AbstractFileFilter {
> +public class CanWriteFileFilter extends AbstractFileFilter implements Serializable {
>
>     /** Singleton instance of <i>writable</i> filter */
>     public static final IOFileFilter CAN_WRITE = new CanWriteFileFilter();
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/DelegateFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/DelegateFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/DelegateFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/DelegateFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -19,6 +19,7 @@
>  import java.io.File;
>  import java.io.FileFilter;
>  import java.io.FilenameFilter;
> +import java.io.Serializable;
>
>  /**
>  * This class turns a Java FileFilter or FilenameFilter into an IO FileFilter.
> @@ -28,7 +29,7 @@
>  *
>  * @author Stephen Colebourne
>  */
> -public class DelegateFileFilter extends AbstractFileFilter {
> +public class DelegateFileFilter extends AbstractFileFilter implements Serializable {
>
>     /** The Filename filter */
>     private FilenameFilter filenameFilter;
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -17,6 +17,7 @@
>  package org.apache.commons.io.filefilter;
>
>  import java.io.File;
> +import java.io.Serializable;
>
>  /**
>  * This filter accepts <code>File</code>s that are directories.
> @@ -38,7 +39,7 @@
>  * @author Stephen Colebourne
>  * @author Peter Donald
>  */
> -public class DirectoryFileFilter extends AbstractFileFilter {
> +public class DirectoryFileFilter extends AbstractFileFilter implements Serializable
{
>
>     /**
>      * Singleton instance of directory filter.
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/EmptyFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/EmptyFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/EmptyFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/EmptyFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -17,6 +17,7 @@
>  package org.apache.commons.io.filefilter;
>
>  import java.io.File;
> +import java.io.Serializable;
>
>  /**
>  * This filter accepts files or directories that are empty.
> @@ -50,7 +51,7 @@
>  * @since Commons IO 1.3
>  * @version $Revision$
>  */
> -public class EmptyFileFilter extends AbstractFileFilter {
> +public class EmptyFileFilter extends AbstractFileFilter implements Serializable {
>
>     /** Singleton instance of <i>empty</i> filter */
>     public static final IOFileFilter EMPTY = new EmptyFileFilter();
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/FalseFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/FalseFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/FalseFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/FalseFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -17,6 +17,7 @@
>  package org.apache.commons.io.filefilter;
>
>  import java.io.File;
> +import java.io.Serializable;
>
>  /**
>  * A file filter that always returns false.
> @@ -26,7 +27,7 @@
>  *
>  * @author Stephen Colebourne
>  */
> -public class FalseFileFilter implements IOFileFilter {
> +public class FalseFileFilter implements IOFileFilter implements Serializable {

Second "implements" should be ","

>     /**
>      * Singleton instance of false filter.
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/FileFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/FileFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/FileFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/FileFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -17,6 +17,7 @@
>  package org.apache.commons.io.filefilter;
>
>  import java.io.File;
> +import java.io.Serializable;
>
>  /**
>  * This filter accepts <code>File</code>s that are files (not directories).
> @@ -35,7 +36,7 @@
>  * @since Commons IO 1.3
>  * @version $Revision: 155419 $ $Date$
>  */
> -public class FileFileFilter extends AbstractFileFilter {
> +public class FileFileFilter extends AbstractFileFilter implements Serializable {
>
>     /** Singleton instance of file filter */
>     public static final IOFileFilter FILE = new FileFileFilter();
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/HiddenFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/HiddenFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/HiddenFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/HiddenFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -17,6 +17,7 @@
>  package org.apache.commons.io.filefilter;
>
>  import java.io.File;
> +import java.io.Serializable;
>
>  /**
>  * This filter accepts <code>File</code>s that are hidden.
> @@ -47,7 +48,7 @@
>  * @since Commons IO 1.3
>  * @version $Revision$
>  */
> -public class HiddenFileFilter extends AbstractFileFilter {
> +public class HiddenFileFilter extends AbstractFileFilter implements Serializable {
>
>     /** Singleton instance of <i>hidden</i> filter */
>     public static final IOFileFilter HIDDEN  = new HiddenFileFilter();
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NameFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NameFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NameFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NameFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -18,6 +18,7 @@
>
>  import java.io.File;
>  import java.util.List;
> +import java.io.Serializable;
>
>  import org.apache.commons.io.IOCase;
>
> @@ -43,7 +44,7 @@
>  * @author Serge Knystautas
>  * @author Peter Donald
>  */
> -public class NameFileFilter extends AbstractFileFilter {
> +public class NameFileFilter extends AbstractFileFilter implements Serializable {
>
>     /** The filenames to search for */
>     private String[] names;
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NotFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NotFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NotFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NotFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -17,6 +17,7 @@
>  package org.apache.commons.io.filefilter;
>
>  import java.io.File;
> +import java.io.Serializable;
>
>  /**
>  * This filter produces a logical NOT of the filters specified.
> @@ -26,7 +27,7 @@
>  *
>  * @author Stephen Colebourne
>  */
> -public class NotFileFilter extends AbstractFileFilter {
> +public class NotFileFilter extends AbstractFileFilter implements Serializable {
>
>     /** The filter */
>     private IOFileFilter filter;
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/OrFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/OrFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/OrFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/OrFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -21,6 +21,7 @@
>  import java.util.Collections;
>  import java.util.Iterator;
>  import java.util.List;
> +import java.io.Serializable;
>
>  /**
>  * A {@link java.io.FileFilter} providing conditional OR logic across a list of
> @@ -36,7 +37,7 @@
>  */
>  public class OrFileFilter
>         extends AbstractFileFilter
> -        implements ConditionalFileFilter {
> +        implements ConditionalFileFilter, Serializable {
>
>     /** The list of file filters. */
>     private List fileFilters;
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/PrefixFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/PrefixFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/PrefixFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/PrefixFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -18,6 +18,7 @@
>
>  import java.io.File;
>  import java.util.List;
> +import java.io.Serializable;
>  import org.apache.commons.io.IOCase;
>
>  /**
> @@ -42,7 +43,7 @@
>  * @author Serge Knystautas
>  * @author Peter Donald
>  */
> -public class PrefixFileFilter extends AbstractFileFilter {
> +public class PrefixFileFilter extends AbstractFileFilter implements Serializable {
>
>     /** The filename prefixes to search for */
>     private String[] prefixes;
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/RegexFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/RegexFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/RegexFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/RegexFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -19,6 +19,7 @@
>  import java.io.File;
>  import java.util.regex.Pattern;
>  import org.apache.commons.io.IOCase;
> +import java.io.Serializable;
>
>  /**
>  * Filters files using supplied regular expression(s).
> @@ -41,7 +42,7 @@
>  * @version $Revision$
>  * @since Commons IO 1.4
>  */
> -public class RegexFileFilter extends AbstractFileFilter {
> +public class RegexFileFilter extends AbstractFileFilter implements Serializable {
>
>     /** The regular expression pattern that will be used to match filenames */
>     private Pattern pattern;
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/SizeFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/SizeFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/SizeFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/SizeFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -17,6 +17,7 @@
>  package org.apache.commons.io.filefilter;
>
>  import java.io.File;
> +import java.io.Serializable;
>
>  /**
>  * Filters files based on size, can filter either smaller files or
> @@ -37,7 +38,7 @@
>  * @version $Id$
>  * @since Commons IO 1.2
>  */
> -public class SizeFileFilter extends AbstractFileFilter {
> +public class SizeFileFilter extends AbstractFileFilter implements Serializable {
>
>     /** The size threshold. */
>     private long size;
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/SuffixFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/SuffixFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/SuffixFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/SuffixFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -18,6 +18,7 @@
>
>  import java.io.File;
>  import java.util.List;
> +import java.io.Serializable;
>  import org.apache.commons.io.IOCase;
>
>  /**
> @@ -43,7 +44,7 @@
>  * @author Serge Knystautas
>  * @author Peter Donald
>  */
> -public class SuffixFileFilter extends AbstractFileFilter {
> +public class SuffixFileFilter extends AbstractFileFilter implements Serializable {
>
>     /** The filename suffixes to search for */
>     private String[] suffixes;
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/TrueFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/TrueFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/TrueFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/TrueFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -17,6 +17,7 @@
>  package org.apache.commons.io.filefilter;
>
>  import java.io.File;
> +import java.io.Serializable;
>
>  /**
>  * A file filter that always returns true.
> @@ -26,7 +27,7 @@
>  *
>  * @author Stephen Colebourne
>  */
> -public class TrueFileFilter implements IOFileFilter {
> +public class TrueFileFilter implements IOFileFilter implements Serializable {


Second "implements" should be ","


>     /**
>      * Singleton instance of true filter.
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/WildcardFileFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/WildcardFileFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/WildcardFileFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/WildcardFileFilter.java
Wed Oct 24 08:53:07 2007
> @@ -18,6 +18,7 @@
>
>  import java.io.File;
>  import java.util.List;
> +import java.io.Serializable;
>
>  import org.apache.commons.io.FilenameUtils;
>  import org.apache.commons.io.IOCase;
> @@ -48,7 +49,7 @@
>  * @version $Revision: 155419 $ $Date$
>  * @since Commons IO 1.3
>  */
> -public class WildcardFileFilter extends AbstractFileFilter {
> +public class WildcardFileFilter extends AbstractFileFilter implements Serializable {
>
>     /** The wildcards that will be used to match filenames. */
>     private String[] wildcards;
>
> Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/WildcardFilter.java
> URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/WildcardFilter.java?rev=587916&r1=587915&r2=587916&view=diff
> ==============================================================================
> --- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/WildcardFilter.java
(original)
> +++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/WildcardFilter.java
Wed Oct 24 08:53:07 2007
> @@ -18,6 +18,7 @@
>
>  import java.io.File;
>  import java.util.List;
> +import java.io.Serializable;
>
>  import org.apache.commons.io.FilenameUtils;
>
> @@ -49,7 +50,7 @@
>  * @deprecated Use WilcardFileFilter. Deprecated as this class performs directory
>  * filtering which it shouldn't do, but that can't be removed due to compatability.
>  */
> -public class WildcardFilter extends AbstractFileFilter {
> +public class WildcardFilter extends AbstractFileFilter implements Serializable {
>
>     /** The wildcards that will be used to match filenames. */
>     private String[] wildcards;
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message