You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2014/08/22 16:16:25 UTC

[89/95] [abbrv] git commit: fixed entity count

fixed entity count


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/666ef6ee
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/666ef6ee
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/666ef6ee

Branch: refs/heads/import-feature
Commit: 666ef6ee29cdb848eb741b3b343e9d88e31d011c
Parents: c495091
Author: Pooja Jain <pj...@apigee.com>
Authored: Wed Aug 6 10:51:19 2014 -0700
Committer: Pooja Jain <pj...@apigee.com>
Committed: Wed Aug 6 10:51:19 2014 -0700

----------------------------------------------------------------------
 .../apache/usergrid/management/importUG/ImportServiceImpl.java  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/666ef6ee/stack/services/src/main/java/org/apache/usergrid/management/importUG/ImportServiceImpl.java
----------------------------------------------------------------------
diff --git a/stack/services/src/main/java/org/apache/usergrid/management/importUG/ImportServiceImpl.java b/stack/services/src/main/java/org/apache/usergrid/management/importUG/ImportServiceImpl.java
index eec77a2..711d74e 100644
--- a/stack/services/src/main/java/org/apache/usergrid/management/importUG/ImportServiceImpl.java
+++ b/stack/services/src/main/java/org/apache/usergrid/management/importUG/ImportServiceImpl.java
@@ -48,7 +48,8 @@ import static org.apache.usergrid.persistence.cassandra.CassandraService.MANAGEM
 /**
  * Created by ApigeeCorporation on 7/8/14.
  */
-public class ImportServiceImpl implements ImportService {
+public class
+        ImportServiceImpl implements ImportService {
 
     private static final Logger logger = LoggerFactory.getLogger(ImportServiceImpl.class);
     public static final String IMPORT_ID = "importId";
@@ -683,7 +684,7 @@ public class ImportServiceImpl implements ImportService {
                         jobExecution.heartbeat();
                     }
                     if (entityCount == 2000) {
-                        fileImport.setLastUpdatedUUID(entityUuid.toString());
+                        fileImport.setLastUpdatedUUID(entity.getUuid().toString());
                         rootEm.update(fileImport);
                         entityCount = 0;
                     }