commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1160778 - /commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/Generator.java
Date Tue, 23 Aug 2011 16:32:03 GMT
Author: simonetripodi
Date: Tue Aug 23 16:32:03 2011
New Revision: 1160778

URL: http://svn.apache.org/viewvc?rev=1160778&view=rev
Log:
fixed checkstyle violation: Redundant modifiers.	

Modified:
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/Generator.java

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/Generator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/Generator.java?rev=1160778&r1=1160777&r2=1160778&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/Generator.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/Generator.java
Tue Aug 23 16:32:03 2011
@@ -31,18 +31,18 @@ public interface Generator<E> {
      * Generators must implement this method.
      * @param proc UnaryProcedure to run
      */
-    public abstract void run(UnaryProcedure<? super E> proc);
+    void run(UnaryProcedure<? super E> proc);
 
     /**
      * Stop the generator. Will stop the wrapped generator if one was set.
      */
-    public abstract void stop();
+    void stop();
 
     /**
      * Check if the generator is stopped.
      * @return true if stopped
      */
-    public abstract boolean isStopped();
+    boolean isStopped();
 
     /**
      * Transforms this generator using the passed in
@@ -51,18 +51,18 @@ public interface Generator<E> {
      * @param transformer UnaryFunction to apply to this
      * @return transformation result
      */
-    public abstract <Z> Z to(UnaryFunction<Generator<? extends E>, ? extends
Z> transformer);
+    <Z> Z to(UnaryFunction<Generator<? extends E>, ? extends Z> transformer);
 
     /**
      * Same as to(new CollectionTransformer(collection)).
      * @param collection Collection to which my elements should be added
      * @return <code>collection</code>
      */
-    public abstract Collection<? super E> to(Collection<? super E> collection);
+    Collection<? super E> to(Collection<? super E> collection);
 
     /**
      * Same as to(new CollectionTransformer()).
      * @return Collection
      */
-    public abstract Collection<? super E> toCollection();
+    Collection<? super E> toCollection();
 }



Mime
View raw message