camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Zachrison (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-3772) CamelTestSupport.createRouteBuilder and createRouteBuilders should return the interface RoutesBuilder not the abstract class RouteBuilder
Date Wed, 09 Mar 2011 12:39:59 GMT
CamelTestSupport.createRouteBuilder and createRouteBuilders should return the interface RoutesBuilder
not the abstract class RouteBuilder
-----------------------------------------------------------------------------------------------------------------------------------------

                 Key: CAMEL-3772
                 URL: https://issues.apache.org/jira/browse/CAMEL-3772
             Project: Camel
          Issue Type: Improvement
          Components: camel-test
    Affects Versions: 2.6.0
            Reporter: Martin Zachrison
            Priority: Minor


The return type for CamelTestSupport createRouteBuilder and createRouteBuilders is the abstract
class RouteBuilder instead of the interface RoutesBuilder. The result of the createRouteBuilders
call is used in the setUp method, context.addRoutes(builder) which expects RoutesBuilder so
there is no need for the create method to return the abstract class RouteBuilder.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message