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 2015/07/10 15:37:25 UTC

[19/50] [abbrv] incubator-usergrid git commit: [USERGRID-613] Added fix mixed cases in two-dot-o.

[USERGRID-613] Added fix mixed cases in two-dot-o.


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

Branch: refs/heads/two-dot-o-import
Commit: e9ad00c7c7494ba08f1941b79ba28644f4eafdeb
Parents: a784016
Author: GERey <gr...@apigee.com>
Authored: Thu Jun 4 11:35:36 2015 -0700
Committer: GERey <gr...@apigee.com>
Committed: Thu Jun 4 11:35:36 2015 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/usergrid/rest/IndexResource.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/e9ad00c7/stack/rest/src/main/java/org/apache/usergrid/rest/IndexResource.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/main/java/org/apache/usergrid/rest/IndexResource.java b/stack/rest/src/main/java/org/apache/usergrid/rest/IndexResource.java
index 2ffc13f..f32824f 100644
--- a/stack/rest/src/main/java/org/apache/usergrid/rest/IndexResource.java
+++ b/stack/rest/src/main/java/org/apache/usergrid/rest/IndexResource.java
@@ -178,7 +178,7 @@ public class IndexResource extends AbstractContextResource {
 
             public void run() {
 
-                logger.info( "Started rebuilding application {} in collection {}", appId, collectionName );
+                logger.info( "Started rebuilding application {} in collection {}", appId, collectionName.toLowerCase() );
 
                 try {
                     rebuildCollection( appId, collectionName, reverse );
@@ -188,11 +188,11 @@ public class IndexResource extends AbstractContextResource {
                     throw new RuntimeException("Error rebuilding collection");
                 }
 
-                logger.info( "Completed rebuilding application {} in collection {}", appId, collectionName );
+                logger.info( "Completed rebuilding application {} in collection {}", appId, collectionName.toLowerCase() );
             }
         };
 
-        rebuild.setName( String.format( "Index rebuild for app %s and collection %s", appId, collectionName ) );
+        rebuild.setName( String.format( "Index rebuild for app %s and collection %s", appId, collectionName.toLowerCase() ) );
         rebuild.setDaemon( true );
         rebuild.start();
 
@@ -294,9 +294,9 @@ public class IndexResource extends AbstractContextResource {
 
         };
 
-        logger.info( "Reindexing for app id: {} and collection {}", applicationId, collectionName );
+        logger.info( "Reindexing for app id: {} and collection {}", applicationId, collectionName.toLowerCase() );
 
-        emf.rebuildCollectionIndex(applicationId, collectionName, reverse, po);
+        emf.rebuildCollectionIndex(applicationId, collectionName.toLowerCase(), reverse, po);
         emf.refreshIndex();
     }