felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clem...@apache.org
Subject svn commit: r1528876 - /felix/trunk/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulation/ClassChecker.java
Date Thu, 03 Oct 2013 14:11:09 GMT
Author: clement
Date: Thu Oct  3 14:11:09 2013
New Revision: 1528876

URL: http://svn.apache.org/r1528876
Log:
Reduce the check to determine if the class was already manipulated or not.

Modified:
    felix/trunk/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulation/ClassChecker.java

Modified: felix/trunk/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulation/ClassChecker.java
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulation/ClassChecker.java?rev=1528876&r1=1528875&r2=1528876&view=diff
==============================================================================
--- felix/trunk/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulation/ClassChecker.java
(original)
+++ felix/trunk/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulation/ClassChecker.java
Thu Oct  3 14:11:09 2013
@@ -98,7 +98,7 @@ public class ClassChecker extends EmptyV
     public FieldVisitor visitField(int access, String name, String desc,
             String signature, Object value) {
 
-        if (access == 0 && name.equals(MethodCreator.IM_FIELD)
+        if (name.equals(MethodCreator.IM_FIELD)
                 && desc.equals("Lorg/apache/felix/ipojo/InstanceManager;")) {
             m_isAlreadyManipulated = true;
         } else if (name.startsWith("class$")) { // Does not add class$* field generated by
'x.class'



Mime
View raw message