[ https://issues.apache.org/jira/browse/COCOON3-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666534#action_12666534 ]
Andreas Pieber commented on COCOON3-14: --------------------------------------- Of course it would work using a general Pipeline. But it wont work using a Pipeline<StAX|SAX|Dom> (whatever). I simply wanted to point out that its possible with this generic construction to forbid completely valid constructions... > Use generics for pipeline assembly > ---------------------------------- > > Key: COCOON3-14 > URL: https://issues.apache.org/jira/browse/COCOON3-14 > Project: Cocoon 3 > Issue Type: Improvement > Components: cocoon-pipeline > Reporter: Carsten Ziegeler > Assignee: Cocoon Developers Team > Attachments: generics.patch > > > This is a simple patch to add generics to the pipeline interface and impl. > With additionally introducing marker interfaces for the component types (SAX, > Stax, dom) > this would allow compile time checks if all components have the correct type > when assembling the pipeline. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.