Skip to content

Commit

Permalink
Do not specialize return type
Browse files Browse the repository at this point in the history
  • Loading branch information
astefanutti committed May 3, 2016
1 parent ec3e50f commit 88af770
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import org.apache.camel.Consumer;
import org.apache.camel.Endpoint;
import org.apache.camel.Processor;
import org.apache.camel.Producer;
import org.apache.camel.impl.DefaultEndpoint;

import javax.enterprise.event.Event;
Expand Down Expand Up @@ -143,7 +144,7 @@ public Consumer createConsumer(Processor processor) {
}

@Override
public CdiEventProducer<T> createProducer() throws IllegalAccessException {
public Producer createProducer() throws IllegalAccessException {
// FIXME: to be replaced once event firing with dynamic parameterized type
// is properly supported (see https://issues.jboss.org/browse/CDI-516)
TypeLiteral<T> literal = new TypeLiteral<T>() {};
Expand Down

0 comments on commit 88af770

Please sign in to comment.