[jira] Created: (CAMEL-1180) remove the generate parameter <?> from the outputs definition

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CAMEL-1180) remove the generate parameter <?> from the outputs definition

JIRA jira@apache.org
remove the generate parameter <?> from the outputs definition
-------------------------------------------------------------

                 Key: CAMEL-1180
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1180
             Project: Apache Camel
          Issue Type: Improvement
            Reporter: Willem Jiang
            Assignee: Willem Jiang
             Fix For: 2.0.0


{code}
@XmlType(name = "outputType")
@XmlAccessorType(XmlAccessType.FIELD)
public class OutputType<Type extends ProcessorType> extends ProcessorType<Type> {
    private static final transient Log LOG = LogFactory.getLog(OutputType.class);

    @XmlElementRef
    protected List<ProcessorType<?>> outputs = new ArrayList<ProcessorType<?>>();  
...
{code}

 This <?> generate parameter is useless,  we could remove it to make outputs definition more clear.


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1180) remove the generate parameter <?> from the outputs definition

JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48104#action_48104 ]

James Strachan commented on CAMEL-1180:
---------------------------------------

provided everything still compiles - feel free :)

> remove the generate parameter <?> from the outputs definition
> -------------------------------------------------------------
>
>                 Key: CAMEL-1180
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1180
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.0.0
>
>
> {code}
> @XmlType(name = "outputType")
> @XmlAccessorType(XmlAccessType.FIELD)
> public class OutputType<Type extends ProcessorType> extends ProcessorType<Type> {
>     private static final transient Log LOG = LogFactory.getLog(OutputType.class);
>     @XmlElementRef
>     protected List<ProcessorType<?>> outputs = new ArrayList<ProcessorType<?>>();  
> ...
> {code}
>  This <?> generate parameter is useless,  we could remove it to make outputs definition more clear.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1180) remove the generate parameter <?> from the outputs definition

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48115#action_48115 ]

Claus Ibsen commented on CAMEL-1180:
------------------------------------

+1 my IDEA have said it's not needed ;)

> remove the generate parameter <?> from the outputs definition
> -------------------------------------------------------------
>
>                 Key: CAMEL-1180
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1180
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.0.0
>
>
> {code}
> @XmlType(name = "outputType")
> @XmlAccessorType(XmlAccessType.FIELD)
> public class OutputType<Type extends ProcessorType> extends ProcessorType<Type> {
>     private static final transient Log LOG = LogFactory.getLog(OutputType.class);
>     @XmlElementRef
>     protected List<ProcessorType<?>> outputs = new ArrayList<ProcessorType<?>>();  
> ...
> {code}
>  This <?> generate parameter is useless,  we could remove it to make outputs definition more clear.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (CAMEL-1180) remove the generate parameter <?> from the outputs definition

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Willem Jiang resolved CAMEL-1180.
---------------------------------

    Resolution: Fixed

http://svn.apache.org/viewvc?rev=725536&view=rev

> remove the generate parameter <?> from the outputs definition
> -------------------------------------------------------------
>
>                 Key: CAMEL-1180
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1180
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.0.0
>
>
> {code}
> @XmlType(name = "outputType")
> @XmlAccessorType(XmlAccessType.FIELD)
> public class OutputType<Type extends ProcessorType> extends ProcessorType<Type> {
>     private static final transient Log LOG = LogFactory.getLog(OutputType.class);
>     @XmlElementRef
>     protected List<ProcessorType<?>> outputs = new ArrayList<ProcessorType<?>>();  
> ...
> {code}
>  This <?> generate parameter is useless,  we could remove it to make outputs definition more clear.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.