Jander Nascimento created FELIX-4490:
----------------------------------------
Summary: 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
Priority: Minor
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)