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 2014/12/30 10:28:31 UTC

tomee git commit: emptyMap is not mutable but we need it

Repository: tomee
Updated Branches:
  refs/heads/develop 8ea00ebd4 -> 5d6bc8f8c


emptyMap is not mutable but we need it


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

Branch: refs/heads/develop
Commit: 5d6bc8f8cc2389918c2356f4c90287b04d61acb6
Parents: 8ea00eb
Author: Romain Manni-Bucau <rm...@apache.org>
Authored: Tue Dec 30 10:28:12 2014 +0100
Committer: Romain Manni-Bucau <rm...@apache.org>
Committed: Tue Dec 30 10:28:12 2014 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/openejb/testing/ApplicationComposers.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/5d6bc8f8/container/openejb-core/src/main/java/org/apache/openejb/testing/ApplicationComposers.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/testing/ApplicationComposers.java b/container/openejb-core/src/main/java/org/apache/openejb/testing/ApplicationComposers.java
index 3064023..5d63c9f 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/testing/ApplicationComposers.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/testing/ApplicationComposers.java
@@ -1158,7 +1158,7 @@ public final class ApplicationComposers {
             }
             return dds;
         }
-        return Collections.emptyMap();
+        return new HashMap<String, URL>();
     }
 
     private static IAnnotationFinder finderFromClasses(final DeploymentModule module, final Class<?>[] value, final Collection<File> others) {