commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1135476 - /commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/filter/AbstractFilter.java
Date Tue, 14 Jun 2011 10:55:19 GMT
Author: simonetripodi
Date: Tue Jun 14 10:55:18 2011
New Revision: 1135476

URL: http://svn.apache.org/viewvc?rev=1135476&view=rev
Log:
binary logical predicates made final, there's no need to override them

Modified:
    commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/filter/AbstractFilter.java

Modified: commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/filter/AbstractFilter.java
URL: http://svn.apache.org/viewvc/commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/filter/AbstractFilter.java?rev=1135476&r1=1135475&r2=1135476&view=diff
==============================================================================
--- commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/filter/AbstractFilter.java
(original)
+++ commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/filter/AbstractFilter.java
Tue Jun 14 10:55:18 2011
@@ -29,7 +29,7 @@ abstract class AbstractFilter
     /**
      * {@inheritDoc}
      */
-    public Filter and( Filter other )
+    public final Filter and( Filter other )
     {
         return new And( this, other );
     }
@@ -37,7 +37,7 @@ abstract class AbstractFilter
     /**
      * {@inheritDoc}
      */
-    public Filter nand( Filter other )
+    public final Filter nand( Filter other )
     {
         return new Not( and( other ) );
     }
@@ -45,7 +45,7 @@ abstract class AbstractFilter
     /**
      * {@inheritDoc}
      */
-    public Filter or( Filter other )
+    public final Filter or( Filter other )
     {
         return new Or( this, other );
     }
@@ -53,7 +53,7 @@ abstract class AbstractFilter
     /**
      * {@inheritDoc}
      */
-    public Filter nor( Filter other )
+    public final Filter nor( Filter other )
     {
         return new Not( or( other ) );
     }
@@ -61,12 +61,12 @@ abstract class AbstractFilter
     /**
      * {@inheritDoc}
      */
-    public Filter xor( Filter other )
+    public final Filter xor( Filter other )
     {
         return new Xor( this, other );
     }
 
-    public Filter xnor( Filter other )
+    public final Filter xnor( Filter other )
     {
         return new Not( xor( other ) );
     }



Mime
View raw message