usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mru...@apache.org
Subject [4/7] usergrid git commit: Fix spelling of bootstrap.
Date Tue, 29 Mar 2016 19:49:09 GMT
Fix spelling of bootstrap.


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

Branch: refs/heads/release-2.1.1
Commit: 066a5962ab135355e429099935a3941f8ba04a98
Parents: 75eb278
Author: Michael Russo <mrusso@apigee.com>
Authored: Tue Mar 29 12:41:54 2016 -0700
Committer: Michael Russo <mrusso@apigee.com>
Committed: Tue Mar 29 12:41:54 2016 -0700

----------------------------------------------------------------------
 .../apache/usergrid/corepersistence/CpEntityManagerFactory.java  | 2 +-
 .../org/apache/usergrid/persistence/EntityManagerFactory.java    | 2 +-
 .../java/org/apache/usergrid/rest/system/DatabaseResource.java   | 4 +---
 3 files changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/066a5962/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
----------------------------------------------------------------------
diff --git a/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
b/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
index 1488ae1..e452892 100644
--- a/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
+++ b/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
@@ -520,7 +520,7 @@ public class CpEntityManagerFactory implements EntityManagerFactory, Application
 
 
     @Override
-    public void boostrap() throws Exception {
+    public void bootstrap() throws Exception {
 
         // Always make sure the database schema is initialized
         getSetup().initSchema();

http://git-wip-us.apache.org/repos/asf/usergrid/blob/066a5962/stack/core/src/main/java/org/apache/usergrid/persistence/EntityManagerFactory.java
----------------------------------------------------------------------
diff --git a/stack/core/src/main/java/org/apache/usergrid/persistence/EntityManagerFactory.java
b/stack/core/src/main/java/org/apache/usergrid/persistence/EntityManagerFactory.java
index 751adc8..96bd3b2 100644
--- a/stack/core/src/main/java/org/apache/usergrid/persistence/EntityManagerFactory.java
+++ b/stack/core/src/main/java/org/apache/usergrid/persistence/EntityManagerFactory.java
@@ -144,7 +144,7 @@ public interface EntityManagerFactory {
      * Boostraps system data so that we can operate usergrid
      * @throws Exception
      */
-    void boostrap() throws Exception;
+    void bootstrap() throws Exception;
 
     Map<String, String> getServiceProperties();
 

http://git-wip-us.apache.org/repos/asf/usergrid/blob/066a5962/stack/rest/src/main/java/org/apache/usergrid/rest/system/DatabaseResource.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/main/java/org/apache/usergrid/rest/system/DatabaseResource.java
b/stack/rest/src/main/java/org/apache/usergrid/rest/system/DatabaseResource.java
index b264893..e41d795 100644
--- a/stack/rest/src/main/java/org/apache/usergrid/rest/system/DatabaseResource.java
+++ b/stack/rest/src/main/java/org/apache/usergrid/rest/system/DatabaseResource.java
@@ -34,8 +34,6 @@ import org.slf4j.LoggerFactory;
 import org.springframework.context.annotation.Scope;
 import org.springframework.stereotype.Component;
 
-import org.apache.usergrid.rest.AbstractContextResource;
-import org.apache.usergrid.rest.ApiResponse;
 import org.apache.usergrid.rest.security.annotations.RequireSystemAccess;
 
 
@@ -92,7 +90,7 @@ public class DatabaseResource extends AbstractContextResource {
         logger.info( "Setting up Cassandra (runSystemSetup)" );
 
 
-        emf.boostrap();
+        emf.bootstrap();
         management.setup();
 
         response.setSuccess();


Mime
View raw message