Skip to content

Commit

Permalink
Reapply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnetherton authored and zbendhiba committed May 12, 2021
1 parent 8eaea8f commit f1eacf3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ public void addRouteTemplateDefinitionConverter(String templateIdPattern, RouteT
}

@Override
public String addRouteFromTemplate(final String routeId, final String routeTemplateId, final Map<String, Object> parameters) throws Exception {
public String addRouteFromTemplate(final String routeId, final String routeTemplateId, final Map<String, Object> parameters)
throws Exception {
RouteTemplateContext rtc = new DefaultRouteTemplateContext(camelContext);
if (parameters != null) {
parameters.forEach(rtc::setParameter);
Expand All @@ -204,7 +205,8 @@ public String addRouteFromTemplate(final String routeId, final String routeTempl
}

@Override
public String addRouteFromTemplate(String routeId, String routeTemplateId, RouteTemplateContext routeTemplateContext) throws Exception {
public String addRouteFromTemplate(String routeId, String routeTemplateId, RouteTemplateContext routeTemplateContext)
throws Exception {
RouteTemplateDefinition target = null;
for (RouteTemplateDefinition def : routeTemplateDefinitions) {
if (routeTemplateId.equals(def.getId())) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ public String addRouteFromTemplate(String routeId, String routeTemplateId, Map<S
}

@Override
public String addRouteFromTemplate(String routeId, String routeTemplateId, RouteTemplateContext routeTemplateContext) throws Exception {
public String addRouteFromTemplate(String routeId, String routeTemplateId, RouteTemplateContext routeTemplateContext)
throws Exception {
return model.addRouteFromTemplate(routeId, routeTemplateId, routeTemplateContext);
}

Expand Down

0 comments on commit f1eacf3

Please sign in to comment.