felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1675586 - /felix/trunk/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java
Date Thu, 23 Apr 2015 12:22:03 GMT
Author: cziegeler
Date: Thu Apr 23 12:22:03 2015
New Revision: 1675586

URL: http://svn.apache.org/r1675586
Log:
FELIX-4861 : Metatype generation should fail if there is no configuration property

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

Modified: felix/trunk/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java?rev=1675586&r1=1675585&r2=1675586&view=diff
==============================================================================
--- felix/trunk/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java
(original)
+++ felix/trunk/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java
Thu Apr 23 12:22:03 2015
@@ -186,7 +186,7 @@ public class Validator {
             // additional check for metatype (FELIX-4035)
             if ( this.container.getMetatypeContainer() != null ) {
                 if ( this.container.getMetatypeContainer().getProperties().size() == 0 )
{
-                    this.logWarn(component, "Component is defined to generate metatype information,
however no properties have been " +
+                    this.logError(component, "Component is defined to generate metatype information,
however no properties have been " +
                         "defined; in case no properties are wanted, consider to use 'metatype=false'");
                 }
             }



Mime
View raw message