tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject tomee git commit: emptyMap is not mutable but we need it
Date Tue, 30 Dec 2014 09:28:31 GMT
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 <rmannibucau@apache.org>
Authored: Tue Dec 30 10:28:12 2014 +0100
Committer: Romain Manni-Bucau <rmannibucau@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) {


Mime
View raw message