You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2011/07/21 10:30:57 UTC

[jira] [Commented] (FELIX-3049) Warning that Lifecycle method deactivate has wrong number of arguments

    [ https://issues.apache.org/jira/browse/FELIX-3049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068856#comment-13068856 ] 

Konrad Windszus commented on FELIX-3049:
----------------------------------------

Also the method protected void activate(final Map properties) is not accepted, although valid according to OSGi.

> Warning that Lifecycle method deactivate has wrong number of arguments
> ----------------------------------------------------------------------
>
>                 Key: FELIX-3049
>                 URL: https://issues.apache.org/jira/browse/FELIX-3049
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>            Reporter: Konrad Windszus
>
> When you have a deactivate method with no arguments, which is valid, according to the OSGi spec (R4 Comp. 112.5.14) I will get the warning:
> [WARNING] @Component: Lifecycle method deactivate has wrong number of arguments at Java annotations in <Classfile:Linenumber>
> Probably this is also a problem with activate methods.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira