camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject svn commit: r1359798 - in /camel/trunk: components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/ examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/ tests/camel-itest-osgi/src/test/java/org/apache/came...
Date Tue, 10 Jul 2012 17:30:48 GMT
Author: bvahdat
Date: Tue Jul 10 17:30:48 2012
New Revision: 1359798

URL: http://svn.apache.org/viewvc?rev=1359798&view=rev
Log:
Polished.

Modified:
    camel/trunk/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsConsumerTest.java
    camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/TwitterWebSocketRoute.java
    camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/hdfs/HdfsBlueprintRouteTest.java

Modified: camel/trunk/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsConsumerTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsConsumerTest.java?rev=1359798&r1=1359797&r2=1359798&view=diff
==============================================================================
--- camel/trunk/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsConsumerTest.java
(original)
+++ camel/trunk/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsConsumerTest.java
Tue Jul 10 17:30:48 2012
@@ -17,10 +17,7 @@
 package org.apache.camel.component.hdfs;
 
 import java.io.File;
-import java.util.List;
 
-import junit.framework.Assert;
-import org.apache.camel.Exchange;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.test.junit4.CamelTestSupport;

Modified: camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/TwitterWebSocketRoute.java
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/TwitterWebSocketRoute.java?rev=1359798&r1=1359797&r2=1359798&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/TwitterWebSocketRoute.java
(original)
+++ camel/trunk/examples/camel-example-twitter-websocket/src/main/java/org/apache/camel/example/websocket/TwitterWebSocketRoute.java
Tue Jul 10 17:30:48 2012
@@ -17,7 +17,6 @@
 package org.apache.camel.example.websocket;
 
 import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.component.twitter.TwitterComponent;
 import org.apache.camel.component.websocket.WebsocketComponent;
 
 /**

Modified: camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/hdfs/HdfsBlueprintRouteTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/hdfs/HdfsBlueprintRouteTest.java?rev=1359798&r1=1359797&r2=1359798&view=diff
==============================================================================
--- camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/hdfs/HdfsBlueprintRouteTest.java
(original)
+++ camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/hdfs/HdfsBlueprintRouteTest.java
Tue Jul 10 17:30:48 2012
@@ -33,21 +33,19 @@ import static org.ops4j.pax.swissbox.tin
 
 @RunWith(JUnit4TestRunner.class)
 public class HdfsBlueprintRouteTest extends OSGiBlueprintTestSupport {
-    //Hadoop doesn't run on IBM JDK
-    private static final boolean SKIP = System.getProperty("java.vendor").contains("IBM");
-    
+
     @Test
     public void testWriteAndReadString() throws Exception {
-        if (SKIP) {
+        if (isJavaVendor("IBM")) {
+            // Hadoop doesn't run on IBM JDK
             return;
         }
 
-        // and does not work well on windows
         if (isPlatform("windows")) {
+            // and does not work well on windows
             return;
         }
 
-
         getInstalledBundle("CamelBlueprintHdfsTestBundle").start();
         CamelContext ctx = getOsgiService(CamelContext.class, "(camel.context.symbolicname=CamelBlueprintHdfsTestBundle)",
20000);
 



Mime
View raw message