commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1204395 - /commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/filter/IsAbstract.java
Date Mon, 21 Nov 2011 08:40:06 GMT
Author: simonetripodi
Date: Mon Nov 21 08:40:06 2011
New Revision: 1204395

URL: http://svn.apache.org/viewvc?rev=1204395&view=rev
Log:
organized imports

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

Modified: commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/filter/IsAbstract.java
URL: http://svn.apache.org/viewvc/commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/filter/IsAbstract.java?rev=1204395&r1=1204394&r2=1204395&view=diff
==============================================================================
--- commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/filter/IsAbstract.java
(original)
+++ commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/filter/IsAbstract.java
Mon Nov 21 08:40:06 2011
@@ -19,7 +19,7 @@ package org.apache.commons.meiyo.classpa
  * under the License.
  */
 
-import java.lang.reflect.Modifier;
+import static java.lang.reflect.Modifier.isAbstract;
 
 /**
  *
@@ -33,7 +33,7 @@ public final class IsAbstract
      */
     public boolean matches( Class<?> clazz )
     {
-        return Modifier.isAbstract( clazz.getModifiers() ) && !clazz.isInterface();
+        return isAbstract( clazz.getModifiers() ) && !clazz.isInterface();
     }
 
     /**



Mime
View raw message