control packaging ManifestAttribute name allows empty string
------------------------------------------------------------

         Key: BEEHIVE-116
         URL: http://nagoya.apache.org/jira/browse/BEEHIVE-116
     Project: Beehive
        Type: Bug
  Components: Controls  
    Versions: V1Beta    
    Reporter: James Song
 Assigned to: Kyle Marvin 
    Priority: Minor
     Fix For: V1Beta


This originates from CR199363.

 For the following control:
@ControlInterface
@ManifestAttributes({
    @ManifestAttribute(name="", value="HelloControlIFAttributeValue1"),
    @ManifestAttribute(name="HelloControlIFAttribute2", 
value="HelloControlIFAttributeValue2"),
    @ManifestAttribute(name="HelloControlIFAttribute3", value=" ")
})
public interface HelloControl
{
    public String hello(String input);
}

The generated manifest is like the following:

Name: org/apache/beehive/controls/test/controls/packaging/HelloControl
 Bean.class
JavaBean: true
HelloControlIFAttribute3:
HelloControlIFAttribute2: HelloControlIFAttributeValue2
: HelloControlIFAttributeValue1


Similarly:
For
@ControlInterface
@ManifestAttributes({
    @ManifestAttribute(name=";", value="HelloControlIFAttributeValue1"),
    @ManifestAttribute(name="HelloControlIFAttribute2", 
value="HelloControlIFAttributeValue2"),
    @ManifestAttribute(name="HelloControlIFAttribute3", value=" ")
})
public interface HelloControl
{
    public String hello(String input);
}

The manifest is:

Name: org/apache/beehive/controls/test/controls/packaging/HelloControl
 Bean.class
JavaBean: true
HelloControlIFAttribute3:
HelloControlIFAttribute2: HelloControlIFAttributeValue2
;: HelloControlIFAttributeValue1

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to