Author: ggregory
Date: Sun Oct 2 19:09:57 2011
New Revision: 1178224
URL: http://svn.apache.org/viewvc?rev=1178224&view=rev
Log:
Remove superfluous public keyword from method in interface declarations.
Modified:
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/IOFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TailerListener.java
Modified:
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.java
URL:
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.java?rev=1178224&r1=1178223&r2=1178224&view=diff
==============================================================================
---
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.java
(original)
+++
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.java
Sun Oct 2 19:09:57 2011
@@ -35,7 +35,7 @@ public interface ConditionalFileFilter {
* @param ioFileFilter the filter to be added
* @since Commons IO 1.1
*/
- public void addFileFilter(IOFileFilter ioFileFilter);
+ void addFileFilter(IOFileFilter ioFileFilter);
/**
* Returns this conditional file filter's list of file filters.
@@ -43,7 +43,7 @@ public interface ConditionalFileFilter {
* @return the file filter list
* @since Commons IO 1.1
*/
- public List<IOFileFilter> getFileFilters();
+ List<IOFileFilter> getFileFilters();
/**
* Removes the specified file filter.
@@ -53,7 +53,7 @@ public interface ConditionalFileFilter {
* <code>false</code> otherwise
* @since Commons IO 1.1
*/
- public boolean removeFileFilter(IOFileFilter ioFileFilter);
+ boolean removeFileFilter(IOFileFilter ioFileFilter);
/**
* Sets the list of file filters, replacing any previously configured
@@ -62,6 +62,6 @@ public interface ConditionalFileFilter {
* @param fileFilters the list of filters
* @since Commons IO 1.1
*/
- public void setFileFilters(List<IOFileFilter> fileFilters);
+ void setFileFilters(List<IOFileFilter> fileFilters);
}
Modified:
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/IOFileFilter.java
URL:
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/IOFileFilter.java?rev=1178224&r1=1178223&r2=1178224&view=diff
==============================================================================
---
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/IOFileFilter.java
(original)
+++
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/IOFileFilter.java
Sun Oct 2 19:09:57 2011
@@ -39,7 +39,7 @@ public interface IOFileFilter extends Fi
* @param file the File to check
* @return true if this file matches the test
*/
- public boolean accept(File file);
+ boolean accept(File file);
/**
* Checks to see if the File should be accepted by this filter.
@@ -50,6 +50,6 @@ public interface IOFileFilter extends Fi
* @param name the filename within the directory to check
* @return true if this file matches the test
*/
- public boolean accept(File dir, String name);
+ boolean accept(File dir, String name);
}
Modified:
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TailerListener.java
URL:
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TailerListener.java?rev=1178224&r1=1178223&r2=1178224&view=diff
==============================================================================
---
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TailerListener.java
(original)
+++
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TailerListener.java
Sun Oct 2 19:09:57 2011
@@ -29,14 +29,14 @@ public interface TailerListener {
* giving the listener a method of stopping the tailer.
* @param tailer the tailer.
*/
- public void init(Tailer tailer);
+ void init(Tailer tailer);
/**
* This method is called if the tailed file is not found.
* <p>
* <b>Note:</b> this is called from the tailer thread.
*/
- public void fileNotFound();
+ void fileNotFound();
/**
* Called if a file rotation is detected.
@@ -46,7 +46,7 @@ public interface TailerListener {
* <p>
* <b>Note:</b> this is called from the tailer thread.
*/
- public void fileRotated();
+ void fileRotated();
/**
* Handles a line from a Tailer.
@@ -54,7 +54,7 @@ public interface TailerListener {
* <b>Note:</b> this is called from the tailer thread.
* @param line the line.
*/
- public void handle(String line);
+ void handle(String line);
/**
* Handles an Exception .
@@ -62,6 +62,6 @@ public interface TailerListener {
* <b>Note:</b> this is called from the tailer thread.
* @param ex the exception.
*/
- public void handle(Exception ex);
+ void handle(Exception ex);
}