tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject [1/2] tomee git commit: TOMEE-2195 fix OSX compile issue in AnnotationDeployer
Date Mon, 18 Jun 2018 15:12:34 GMT
Repository: tomee
Updated Branches:
  refs/heads/master fe83aa562 -> c381de03b


TOMEE-2195 fix OSX compile issue in AnnotationDeployer

txs to gerdogdu for the patch!


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/886decc3
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/886decc3
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/886decc3

Branch: refs/heads/master
Commit: 886decc3a87f08161d552b2564a558efd637ebca
Parents: fe83aa5
Author: Mark Struberg <struberg@apache.org>
Authored: Mon Jun 18 16:58:02 2018 +0200
Committer: Mark Struberg <struberg@apache.org>
Committed: Mon Jun 18 16:58:02 2018 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/openejb/config/AnnotationDeployer.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/886decc3/container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java
b/container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java
index 9df12fe..893b545 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java
@@ -5720,9 +5720,9 @@ public class AnnotationDeployer implements DynamicDeployer {
                 }
             } else if (clazz.isInterface()) {
                 final Class api = clazz;
-                final List<Class> impl = finder.findImplementations(api);
+                final List impl = finder.findImplementations((Class<?>)api);
                 if (impl != null && impl.size() == 1) { // single impl so that's
the service
-                    final Class implClass = impl.iterator().next();
+                    final Class implClass = (Class) impl.iterator().next();
                     final String name = implClass.getName();
                     if (!isEJB(implClass)) {
                         classes.add(name);


Mime
View raw message