camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggrzy...@apache.org
Subject [1/4] camel git commit: Fixed CS
Date Fri, 18 Nov 2016 17:06:07 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.16.x e6bf8367b -> 9ef8327e7
  refs/heads/camel-2.17.x d35f61c20 -> b43043757
  refs/heads/camel-2.18.x a4280151d -> 2a78bb3a8
  refs/heads/master 35a8fb65c -> 3c4eb0def


Fixed CS


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/3c4eb0de
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/3c4eb0de
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/3c4eb0de

Branch: refs/heads/master
Commit: 3c4eb0defb8fb9987b977fc16b97ff5a764f85dc
Parents: 35a8fb6
Author: Grzegorz Grzybek <gr.grzybek@gmail.com>
Authored: Fri Nov 18 18:05:26 2016 +0100
Committer: Grzegorz Grzybek <gr.grzybek@gmail.com>
Committed: Fri Nov 18 18:05:26 2016 +0100

----------------------------------------------------------------------
 .../org/apache/camel/test/blueprint/CamelBlueprintHelper.java | 2 +-
 .../test/java/org/apache/camel/test/blueprint/MainTest.java   | 7 +------
 2 files changed, 2 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/3c4eb0de/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintHelper.java
----------------------------------------------------------------------
diff --git a/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintHelper.java
b/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintHelper.java
index 90f23bb..59244ff 100644
--- a/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintHelper.java
+++ b/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintHelper.java
@@ -134,7 +134,7 @@ public final class CamelBlueprintHelper {
     }
 
     public static BundleContext createBundleContext(String name, String bundleFilter, TinyBundle
bundle) throws Exception {
-        return createBundleContext(name, bundleFilter, bundle, null,null);
+        return createBundleContext(name, bundleFilter, bundle, null, null);
     }
 
     public static BundleContext createBundleContext(String name, String bundleFilter,

http://git-wip-us.apache.org/repos/asf/camel/blob/3c4eb0de/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/MainTest.java
----------------------------------------------------------------------
diff --git a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/MainTest.java
b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/MainTest.java
index eb48a1c..a041e28 100644
--- a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/MainTest.java
+++ b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/MainTest.java
@@ -19,17 +19,12 @@ package org.apache.camel.test.blueprint;
 
 import java.io.File;
 import java.io.FileOutputStream;
-import java.io.StringWriter;
 import java.net.URL;
 import java.net.URLClassLoader;
-import java.util.Arrays;
 
 import org.apache.aries.util.io.IOUtils;
 import org.apache.camel.ProducerTemplate;
-import org.apache.camel.util.FileUtil;
-import org.apache.felix.connect.felix.framework.util.Util;
 import org.junit.Test;
-import org.ops4j.io.FileUtils;
 import org.ops4j.pax.swissbox.tinybundles.core.TinyBundle;
 import org.ops4j.pax.swissbox.tinybundles.core.TinyBundles;
 
@@ -78,7 +73,7 @@ public class MainTest {
 
         // simulate `camel:run` which is run after packaging the artifact, so a "bundle"
(location with
         // META-INF/MANIFEST.MF) is detected in target/classes
-        URLClassLoader loader = new URLClassLoader(new URL[] { tb.toURI().toURL() }, getClass().getClassLoader());
+        URLClassLoader loader = new URLClassLoader(new URL[] {tb.toURI().toURL()}, getClass().getClassLoader());
 
         Main main = new Main();
         main.setLoader(loader);


Mime
View raw message