You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pd...@apache.org on 2018/11/28 15:53:10 UTC

svn commit: r1847649 - in /felix/trunk/dependencymanager/org.apache.felix.dependencymanager.annotation: bnd.bnd src/org/apache/felix/dm/annotation/plugin/bnd/AnnotationCollector.java

Author: pderop
Date: Wed Nov 28 15:53:10 2018
New Revision: 1847649

URL: http://svn.apache.org/viewvc?rev=1847649&view=rev
Log:
FELIX-5991: DM annotation scanner debug messages are logged in warn

Modified:
    felix/trunk/dependencymanager/org.apache.felix.dependencymanager.annotation/bnd.bnd
    felix/trunk/dependencymanager/org.apache.felix.dependencymanager.annotation/src/org/apache/felix/dm/annotation/plugin/bnd/AnnotationCollector.java

Modified: felix/trunk/dependencymanager/org.apache.felix.dependencymanager.annotation/bnd.bnd
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/org.apache.felix.dependencymanager.annotation/bnd.bnd?rev=1847649&r1=1847648&r2=1847649&view=diff
==============================================================================
--- felix/trunk/dependencymanager/org.apache.felix.dependencymanager.annotation/bnd.bnd (original)
+++ felix/trunk/dependencymanager/org.apache.felix.dependencymanager.annotation/bnd.bnd Wed Nov 28 15:53:10 2018
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-Bundle-Version: 5.0.0
+Bundle-Version: 5.0.1
 -buildpath: \
 	osgi.core;version=6.0,\
 	osgi.cmpn;version=6.0,\

Modified: felix/trunk/dependencymanager/org.apache.felix.dependencymanager.annotation/src/org/apache/felix/dm/annotation/plugin/bnd/AnnotationCollector.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/org.apache.felix.dependencymanager.annotation/src/org/apache/felix/dm/annotation/plugin/bnd/AnnotationCollector.java?rev=1847649&r1=1847648&r2=1847649&view=diff
==============================================================================
--- felix/trunk/dependencymanager/org.apache.felix.dependencymanager.annotation/src/org/apache/felix/dm/annotation/plugin/bnd/AnnotationCollector.java (original)
+++ felix/trunk/dependencymanager/org.apache.felix.dependencymanager.annotation/src/org/apache/felix/dm/annotation/plugin/bnd/AnnotationCollector.java Wed Nov 28 15:53:10 2018
@@ -103,7 +103,7 @@ public class AnnotationCollector extends
     private final static String A_REGISTERED = Registered.class.getName();
     private final static String A_UNREGISTERED = Unregistered.class.getName();
 
-    private Logger m_logger;
+    private final Logger m_logger;
     private String[] m_interfaces;
     private boolean m_isField;
     private String m_field;
@@ -1588,8 +1588,8 @@ public class AnnotationCollector extends
 			Clazz clazz = m_analyzer.findClass(annotation.getName());
 
 			if (clazz == null) {
-				m_logger.warn(
-						"Unable to determine whether the annotation %s applied to type %s is a component property type as it is not on the project build path. If this annotation is a component property type then it must be present on the build path in order to be processed",
+				m_logger.debug(
+						"Unable to find the annotation %s applied to type %s from project build path (ignoring it).",
 						annotation.getName().getFQN(), m_currentClassName);
 				return;
 			}
@@ -1888,4 +1888,4 @@ public class AnnotationCollector extends
         return new AbstractMap.SimpleEntry<>(key, value);
     }
 
-}
\ No newline at end of file
+}