You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2014/08/14 11:37:09 UTC

[1/2] git commit: CAMEL-7662 Enable the MQTTProducerTest

Repository: camel
Updated Branches:
  refs/heads/master 92b4365a1 -> 8a2e278a0


CAMEL-7662 Enable the MQTTProducerTest


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

Branch: refs/heads/master
Commit: 7299670e4ad409107f58010a3d790f82c7916df2
Parents: 92b4365
Author: Willem Jiang <wi...@gmail.com>
Authored: Thu Aug 14 16:54:06 2014 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Thu Aug 14 16:55:44 2014 +0800

----------------------------------------------------------------------
 components/camel-mqtt/pom.xml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/7299670e/components/camel-mqtt/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-mqtt/pom.xml b/components/camel-mqtt/pom.xml
index 106c45f..33d4f86 100644
--- a/components/camel-mqtt/pom.xml
+++ b/components/camel-mqtt/pom.xml
@@ -80,9 +80,8 @@
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
                     <forkMode>perTest</forkMode>
-                    <excludes>
-                        <exclude>**/MQTTProducerTest.*</exclude>
-                    </excludes>
+                    <!--CAMEL-7662 disabling the assertion this time-->
+                    <enableAssertions>false</enableAssertions>
                 </configuration>
             </plugin>
              <plugin>


[2/2] git commit: Fixed the CS error in camel-core

Posted by ni...@apache.org.
Fixed the CS error in camel-core


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

Branch: refs/heads/master
Commit: 8a2e278a044b2441803c0c5ab849528c12f81ec8
Parents: 7299670
Author: Willem Jiang <wi...@gmail.com>
Authored: Thu Aug 14 17:36:47 2014 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Thu Aug 14 17:36:47 2014 +0800

----------------------------------------------------------------------
 camel-core/src/main/java/org/apache/camel/CamelContext.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/8a2e278a/camel-core/src/main/java/org/apache/camel/CamelContext.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/CamelContext.java b/camel-core/src/main/java/org/apache/camel/CamelContext.java
index 8a3c31b..022ae36 100644
--- a/camel-core/src/main/java/org/apache/camel/CamelContext.java
+++ b/camel-core/src/main/java/org/apache/camel/CamelContext.java
@@ -235,7 +235,7 @@ public interface CamelContext extends SuspendableService, RuntimeConfiguration {
      * @param type the class type
      * @return the service instance or <tt>null</tt> if not already added.
      */
-    public <T> T hasService(Class<T> type);
+    <T> T hasService(Class<T> type);
 
     /**
      * Adds the given listener to be invoked when {@link CamelContext} have just been started.