You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2016/04/21 10:18:39 UTC

camel git commit: Fix type inference compilation error with older JDK versions

Repository: camel
Updated Branches:
  refs/heads/master 3d9bca95c -> 9ddbb5f3b


Fix type inference compilation error with older JDK versions


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

Branch: refs/heads/master
Commit: 9ddbb5f3bda81877c096d1f56146641765efa66e
Parents: 3d9bca9
Author: Antonin Stefanutti <an...@stefanutti.fr>
Authored: Thu Apr 21 10:18:20 2016 +0200
Committer: Antonin Stefanutti <an...@stefanutti.fr>
Committed: Thu Apr 21 10:18:20 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/camel/blob/9ddbb5f3/components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiSpiHelper.java
----------------------------------------------------------------------
diff --git a/components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiSpiHelper.java b/components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiSpiHelper.java
index 18290b3..17fa933 100644
--- a/components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiSpiHelper.java
+++ b/components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiSpiHelper.java
@@ -147,7 +147,7 @@ final class CdiSpiHelper {
     /**
      * Generates a unique signature of a collection of types.
      */
-    private static String createTypeCollectionId(Collection<? extends Type> types) {
+    private static String createTypeCollectionId(Collection<Type> types) {
         return types.stream()
             .sorted(comparing(CdiSpiHelper::createTypeId))
             .map(CdiSpiHelper::createTypeId)