Updated Branches: refs/heads/master 5c952100a -> f43582406
CS fixes Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f4358240 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f4358240 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f4358240 Branch: refs/heads/master Commit: f435824068c31e239e1b3304be2653a4532688cf Parents: 5c95210 Author: bibryam <[email protected]> Authored: Tue Jul 23 20:06:27 2013 +0100 Committer: bibryam <[email protected]> Committed: Tue Jul 23 20:06:27 2013 +0100 ---------------------------------------------------------------------- .../apache/camel/test/junit4/CamelTestSupport.java | 3 +-- .../apache/camel/test/CamelTestSupportTest.java | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/f4358240/components/camel-test/src/main/java/org/apache/camel/test/junit4/CamelTestSupport.java ---------------------------------------------------------------------- diff --git a/components/camel-test/src/main/java/org/apache/camel/test/junit4/CamelTestSupport.java b/components/camel-test/src/main/java/org/apache/camel/test/junit4/CamelTestSupport.java index 3beb9af..a373488 100644 --- a/components/camel-test/src/main/java/org/apache/camel/test/junit4/CamelTestSupport.java +++ b/components/camel-test/src/main/java/org/apache/camel/test/junit4/CamelTestSupport.java @@ -322,8 +322,7 @@ public abstract class CamelTestSupport extends TestSupport { private void replaceFromEndpoints() throws Exception { for (final Map.Entry<String, String> entry : fromEndpoints.entrySet()) { - context.getRouteDefinition( - entry.getKey()).adviceWith(context, new AdviceWithRouteBuilder() { + context.getRouteDefinition(entry.getKey()).adviceWith(context, new AdviceWithRouteBuilder() { @Override public void configure() throws Exception { replaceFromWith(entry.getValue()); http://git-wip-us.apache.org/repos/asf/camel/blob/f4358240/components/camel-test/src/test/java/org/apache/camel/test/CamelTestSupportTest.java ---------------------------------------------------------------------- diff --git a/components/camel-test/src/test/java/org/apache/camel/test/CamelTestSupportTest.java b/components/camel-test/src/test/java/org/apache/camel/test/CamelTestSupportTest.java index 9e77bc0..f046e90 100644 --- a/components/camel-test/src/test/java/org/apache/camel/test/CamelTestSupportTest.java +++ b/components/camel-test/src/test/java/org/apache/camel/test/CamelTestSupportTest.java @@ -1,3 +1,20 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.apache.camel.test; import org.apache.camel.builder.RouteBuilder;
