Skip to content

Commit

Permalink
FELIX-4861 : Metatype generation should fail if there is no configura…
Browse files Browse the repository at this point in the history
…tion property

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1675586 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
cziegeler committed Apr 23, 2015
1 parent 4ee5665 commit 50b7d93
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -186,7 +186,7 @@ public void validate()
// 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'");
}
}
Expand Down

0 comments on commit 50b7d93

Please sign in to comment.