gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject [40/50] [abbrv] git commit: Don't clear dirty state in case Persistent is not saved
Date Wed, 04 Jun 2014 16:36:57 GMT
Don't clear dirty state in case Persistent is not saved


Project: http://git-wip-us.apache.org/repos/asf/gora/repo
Commit: http://git-wip-us.apache.org/repos/asf/gora/commit/62e363c0
Tree: http://git-wip-us.apache.org/repos/asf/gora/tree/62e363c0
Diff: http://git-wip-us.apache.org/repos/asf/gora/diff/62e363c0

Branch: refs/heads/master
Commit: 62e363c0af2050d38668c09d1b0c6aba1ae13976
Parents: 48806ff
Author: Damien Raude-Morvan <damien@dictanova.com>
Authored: Thu May 22 20:06:58 2014 +0200
Committer: Damien Raude-Morvan <damien@dictanova.com>
Committed: Thu May 22 20:06:58 2014 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/gora/mongodb/store/MongoStore.java    | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/gora/blob/62e363c0/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java
----------------------------------------------------------------------
diff --git a/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java b/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java
index 0f86d54..1e58ddc 100644
--- a/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java
+++ b/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java
@@ -378,8 +378,6 @@ public class MongoStore<K, T extends PersistentBase> extends
     } else {
       LOG.info("Ignored putting object {} in the store as it is neither "
           + "new, neither dirty.", new Object[] { obj });
-      // Clear its state
-      obj.clearDirty();
     }
   }
 


Mime
View raw message