You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rm...@apache.org on 2015/05/21 12:47:53 UTC
tomee git commit: TOMEE-1590 no need to cast as List in WsFactory,
Collection is enough
Repository: tomee
Updated Branches:
refs/heads/master d345fab76 -> 1f2586fad
TOMEE-1590 no need to cast as List in WsFactory, Collection is enough
Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/1f2586fa
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/1f2586fa
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/1f2586fa
Branch: refs/heads/master
Commit: 1f2586fad52fa381e69af0a81393bb2e74102a5c
Parents: d345fab
Author: Romain Manni-Bucau <rm...@apache.org>
Authored: Thu May 21 12:39:46 2015 +0200
Committer: Romain Manni-Bucau <rm...@apache.org>
Committed: Thu May 21 12:39:46 2015 +0200
----------------------------------------------------------------------
.../src/main/java/org/apache/tomee/common/WsFactory.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tomee/blob/1f2586fa/tomee/tomee-common/src/main/java/org/apache/tomee/common/WsFactory.java
----------------------------------------------------------------------
diff --git a/tomee/tomee-common/src/main/java/org/apache/tomee/common/WsFactory.java b/tomee/tomee-common/src/main/java/org/apache/tomee/common/WsFactory.java
index 5e657cb..e3cf9a2 100644
--- a/tomee/tomee-common/src/main/java/org/apache/tomee/common/WsFactory.java
+++ b/tomee/tomee-common/src/main/java/org/apache/tomee/common/WsFactory.java
@@ -32,6 +32,7 @@ import javax.xml.ws.Service;
import java.net.URL;
import java.util.Collections;
import java.util.Hashtable;
+import java.util.Collection;
import java.util.List;
import java.util.Properties;
@@ -99,7 +100,7 @@ public class WsFactory extends AbstractObjectFactory {
if (handlerChains == null) {
handlerChains = Collections.emptyList();
}
- List<Injection> injections = NamingUtil.getStaticValue(ref, "injections");
+ Collection<Injection> injections = NamingUtil.getStaticValue(ref, "injections");
if (injections == null) {
injections = Collections.emptyList();
}