You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cz...@apache.org on 2013/04/25 13:09:42 UTC

svn commit: r1475701 - /felix/trunk/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/SCRDescriptorGenerator.java

Author: cziegeler
Date: Thu Apr 25 11:09:42 2013
New Revision: 1475701

URL: http://svn.apache.org/r1475701
Log:
FELIX-4033 :  Issue warning messages for redundant SCR annotation combinations 

Modified:
    felix/trunk/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/SCRDescriptorGenerator.java

Modified: felix/trunk/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/SCRDescriptorGenerator.java
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/SCRDescriptorGenerator.java?rev=1475701&r1=1475700&r2=1475701&view=diff
==============================================================================
--- felix/trunk/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/SCRDescriptorGenerator.java (original)
+++ felix/trunk/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/SCRDescriptorGenerator.java Thu Apr 25 11:09:42 2013
@@ -490,7 +490,7 @@ public class SCRDescriptorGenerator {
                 final String name = pd.getName();
                 if ( org.osgi.framework.Constants.SERVICE_ID.equals(name) ) {
                     iLog.addError("Class " + current.getDescribedClass().getName() + " is declaring " +
-                                  " the protected property 'service.id'.", current.getSource() );
+                                  "the protected property 'service.id'.", current.getSource() );
                     continue;
 
                 }