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:29:28 GMT
Repository: tomee
Updated Branches:
  refs/heads/tomee-1.7.x 84f78f0cc -> b0e4daa5d


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/b0e4daa5
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/b0e4daa5
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/b0e4daa5

Branch: refs/heads/tomee-1.7.x
Commit: b0e4daa5d43a56cad5e9454f41b255709f5be064
Parents: 84f78f0
Author: Romain Manni-Bucau <rmannibucau@apache.org>
Authored: Tue Dec 30 10:28:50 2014 +0100
Committer: Romain Manni-Bucau <rmannibucau@apache.org>
Committed: Tue Dec 30 10:29:21 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/b0e4daa5/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 449feb3..8ceb48c 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
@@ -1085,7 +1085,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