usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sfeld...@apache.org
Subject incubator-usergrid git commit: remove comments
Date Tue, 04 Aug 2015 16:27:40 GMT
Repository: incubator-usergrid
Updated Branches:
  refs/heads/two-dot-o-dev ea9389cd8 -> 16689a260


remove comments


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

Branch: refs/heads/two-dot-o-dev
Commit: 16689a26048ad6cb30362664576b84d5257c2628
Parents: ea9389c
Author: Shawn Feldman <sfeldman@apache.org>
Authored: Tue Aug 4 10:27:37 2015 -0600
Committer: Shawn Feldman <sfeldman@apache.org>
Committed: Tue Aug 4 10:27:37 2015 -0600

----------------------------------------------------------------------
 .../corepersistence/CpEntityManager.java        | 26 --------------------
 1 file changed, 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/16689a26/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManager.java
----------------------------------------------------------------------
diff --git a/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManager.java
b/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManager.java
index e29f7fb..6611b6f 100644
--- a/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManager.java
+++ b/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManager.java
@@ -454,12 +454,6 @@ public class CpEntityManager implements EntityManager {
 
         Id id = new SimpleId( entityRef.getUuid(), entityRef.getType() );
 
-
-        //        if ( !UUIDUtils.isTimeBased( id.getUuid() ) ) {
-        //            throw new IllegalArgumentException(
-        //                "Entity Id " + id.getType() + ":"+ id.getUuid() +" uuid not time
based");
-        //        }
-
         org.apache.usergrid.persistence.model.entity.Entity cpEntity = load( id );
 
         if ( cpEntity == null ) {
@@ -472,31 +466,11 @@ public class CpEntityManager implements EntityManager {
             return null;
         }
 
-        //        if ( entityRef.getType().equals("group") ) {
-        //            logger.debug("Reading Group");
-        //            for ( Field field : cpEntity.getFields() ) {
-        //                logger.debug("   Reading prop name={} value={}", field.getName(),
field.getValue() );
-        //            }
-        //        }
-
         Class clazz = Schema.getDefaultSchema().getEntityClass( entityRef.getType() );
 
         Entity entity = EntityFactory.newEntity( entityRef.getUuid(), entityRef.getType(),
clazz );
         entity.setProperties( CpEntityMapUtils.toMap( cpEntity ) );
 
-        //        if ( entityRef.getType().equals("group") ) {
-        //            logger.debug("Reading Group " + entity.getProperties());
-        //        }
-
-        //        if ( logger.isDebugEnabled() ) {
-        //            logger.debug( "Loaded entity {}:{} from scope\n   app {}\n   owner
{}\n   name {}",
-        //                new Object[] {
-        //                    id.getType(), id.getUuid(),
-        //                    collectionScope.getApplication(),
-        //                    collectionScope.getOwner(),
-        //                    collectionScope.getName()
-        //            } );
-        //        }
 
         return entity;
     }


Mime
View raw message