You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2013/03/11 10:19:12 UTC
[jira] [Resolved] (FELIX-3964) Wrong signature for non-service
InventoryPrinter services
[ https://issues.apache.org/jira/browse/FELIX-3964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved FELIX-3964.
--------------------------------------
Resolution: Fixed
Fixed in Rev. 1455065:
- replace Boolean.class by Boolean.type in the signature
- Create constants
- Add unit tests
> Wrong signature for non-service InventoryPrinter services
> ---------------------------------------------------------
>
> Key: FELIX-3964
> URL: https://issues.apache.org/jira/browse/FELIX-3964
> Project: Felix
> Issue Type: Bug
> Components: Inventory
> Affects Versions: inventory-1.0.0
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: inventory-1.0.0
>
>
> InventoryPrinter services may be registered with just the properties with any service type as long as a specific method signature is implemteded. The idea is to implement this signature:
> print(String, PrintWriter, boolean)
> Currently, the signature selection is for "Boolean.class" as the last parameter where it should be Boolean.TYPE to refer to the primitive boolean type.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira