cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject [1/8] cayenne git commit: cleanup
Date Mon, 11 May 2015 04:42:36 GMT
Repository: cayenne
Updated Branches:
  refs/heads/master 09b93d0ce -> 200ac46e7


cleanup


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/51ce4ce8
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/51ce4ce8
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/51ce4ce8

Branch: refs/heads/master
Commit: 51ce4ce850f4cc4b6ac703366c191f9f8f59ad97
Parents: 09b93d0
Author: aadamchik <aadamchik@apache.org>
Authored: Sun May 10 14:43:30 2015 -0400
Committer: aadamchik <aadamchik@apache.org>
Committed: Sun May 10 14:43:30 2015 -0400

----------------------------------------------------------------------
 .../access/translator/select/DataObjectMatchTranslator.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/51ce4ce8/cayenne-server/src/main/java/org/apache/cayenne/access/translator/select/DataObjectMatchTranslator.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/main/java/org/apache/cayenne/access/translator/select/DataObjectMatchTranslator.java
b/cayenne-server/src/main/java/org/apache/cayenne/access/translator/select/DataObjectMatchTranslator.java
index f52d990..b9bc561 100644
--- a/cayenne-server/src/main/java/org/apache/cayenne/access/translator/select/DataObjectMatchTranslator.java
+++ b/cayenne-server/src/main/java/org/apache/cayenne/access/translator/select/DataObjectMatchTranslator.java
@@ -92,7 +92,7 @@ public class DataObjectMatchTranslator {
 
     public void setDataObject(Persistent obj) {
         if (obj == null) {
-            values = Collections.EMPTY_MAP;
+            values = Collections.emptyMap();
             return;
         }
 


Mime
View raw message