You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2014/05/06 18:18:15 UTC

[jira] [Resolved] (FELIX-4490) IPOJO allows "instance.name" property to be an empty String

     [ https://issues.apache.org/jira/browse/FELIX-4490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clement Escoffier resolved FELIX-4490.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: ipojo-runtime-1.12.0
         Assignee: Clement Escoffier

Fixed in trunk.

> IPOJO allows "instance.name" property to be an empty String
> -----------------------------------------------------------
>
>                 Key: FELIX-4490
>                 URL: https://issues.apache.org/jira/browse/FELIX-4490
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: ipojo-runtime-1.11.0
>         Environment: --- OS ----
> Distributor ID:	Ubuntu
> Description:	Ubuntu 12.10
> Release:	12.10
> Codename:	quantal
> ---- JVM ----
> java version "1.7.0_09"
> Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
> Java HotSpot(TM) Server VM (build 23.5-b02, mixed mode)
>            Reporter: Jander Nascimento
>            Assignee: Clement Escoffier
>            Priority: Minor
>             Fix For: ipojo-runtime-1.12.0
>
>
> IPOJO allows to create an instance where  "instance.name" property is an empty string
> ---- Code excerpt ----
> @Configuration
> public class Config {
>     Instance myInstance = instance()
>             .of("MyFactory")
>             .with(Factory.INSTANCE_NAME_PROPERTY).setto("");
> }



--
This message was sent by Atlassian JIRA
(v6.2#6252)