[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openejb-cvs
Subject:    tomee git commit: emptyMap is not mutable but we need it
From:       rmannibucau () apache ! org
Date:       2014-12-30 9:28:31
Message-ID: ae3d746e7cd74127b6829093435a2d71 () git ! apache ! org
[Download RAW message or body]

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) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic