geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [1/4] geode git commit: GEODE-2738: Corrected misspellibng of "occured" to "occurred"
Date Mon, 08 May 2017 22:22:30 GMT
Repository: geode
Updated Branches:
  refs/heads/develop b29e1bda4 -> 05d806891


http://git-wip-us.apache.org/repos/asf/geode/blob/05d80689/geode-core/src/test/java/org/apache/geode/internal/jta/GlobalTransactionJUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/jta/GlobalTransactionJUnitTest.java
b/geode-core/src/test/java/org/apache/geode/internal/jta/GlobalTransactionJUnitTest.java
index db1100f..0c6c625 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/jta/GlobalTransactionJUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/jta/GlobalTransactionJUnitTest.java
@@ -92,7 +92,7 @@ public class GlobalTransactionJUnitTest {
   @Test
   public void testEnlistResource() throws Exception {
     try {
-      boolean exceptionoccured = false;
+      boolean exceptionoccurred = false;
       utx.begin();
       try {
         Context ctx = cache.getJNDIContext();
@@ -100,10 +100,10 @@ public class GlobalTransactionJUnitTest {
             (GemFireTransactionDataSource) ctx.lookup("java:/XAPooledDataSource");
         ds.getConnection();
       } catch (SQLException e) {
-        exceptionoccured = true;
+        exceptionoccurred = true;
       }
-      if (exceptionoccured)
-        fail("SQLException occured while trying to enlist resource");
+      if (exceptionoccurred)
+        fail("SQLException occurred while trying to enlist resource");
       utx.rollback();
     } catch (Exception e) {
       try {
@@ -119,17 +119,17 @@ public class GlobalTransactionJUnitTest {
   @Test
   public void testRegisterSynchronization() throws Exception {
     try {
-      boolean exceptionoccured = false;
+      boolean exceptionoccurred = false;
       utx.begin();
       try {
         Transaction txn = tm.getTransaction();
         Synchronization sync = new SyncImpl();
         txn.registerSynchronization(sync);
       } catch (RollbackException e) {
-        exceptionoccured = true;
+        exceptionoccurred = true;
       }
-      if (exceptionoccured)
-        fail("exception occured while trying to register synchronization ");
+      if (exceptionoccurred)
+        fail("exception occurred while trying to register synchronization ");
       utx.rollback();
     } catch (Exception e) {
       try {
@@ -145,7 +145,7 @@ public class GlobalTransactionJUnitTest {
   @Test
   public void testEnlistResourceAfterRollBack() throws Exception {
     try {
-      boolean exceptionoccured = false;
+      boolean exceptionoccurred = false;
       utx.begin();
       utx.setRollbackOnly();
       Context ctx = cache.getJNDIContext();
@@ -154,10 +154,10 @@ public class GlobalTransactionJUnitTest {
             (GemFireTransactionDataSource) ctx.lookup("java:/XAPooledDataSource");
         ds.getConnection();
       } catch (SQLException e) {
-        exceptionoccured = true;
+        exceptionoccurred = true;
       }
-      if (!exceptionoccured)
-        fail("SQLException not occured although the transaction was marked for rollback");
+      if (!exceptionoccurred)
+        fail("SQLException not occurred although the transaction was marked for rollback");
       utx.rollback();
     } catch (Exception e) {
       try {
@@ -173,7 +173,7 @@ public class GlobalTransactionJUnitTest {
   @Test
   public void testRegisterSynchronizationAfterRollBack() throws Exception {
     try {
-      boolean exceptionoccured = false;
+      boolean exceptionoccurred = false;
       utx.begin();
       utx.setRollbackOnly();
       Context ctx = cache.getJNDIContext();
@@ -182,10 +182,10 @@ public class GlobalTransactionJUnitTest {
         Synchronization sync = new SyncImpl();
         txn.registerSynchronization(sync);
       } catch (RollbackException e) {
-        exceptionoccured = true;
+        exceptionoccurred = true;
       }
-      if (!exceptionoccured)
-        fail("RollbackException not occured although the transaction was marked for rollback");
+      if (!exceptionoccurred)
+        fail("RollbackException not occurred although the transaction was marked for rollback");
       utx.rollback();
     } catch (Exception e) {
       try {

http://git-wip-us.apache.org/repos/asf/geode/blob/05d80689/geode-core/src/test/java/org/apache/geode/internal/jta/dunit/ExceptionsDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/jta/dunit/ExceptionsDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/internal/jta/dunit/ExceptionsDUnitTest.java
index d672d22..def1115 100755
--- a/geode-core/src/test/java/org/apache/geode/internal/jta/dunit/ExceptionsDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/jta/dunit/ExceptionsDUnitTest.java
@@ -205,7 +205,7 @@ public class ExceptionsDUnitTest extends JUnit4DistributedTestCase {
   }
 
   public static void runTest1() throws Exception {
-    boolean exceptionOccured = false;
+    boolean exceptionOccurred = false;
     try {
       Context ctx = cache.getJNDIContext();
       DataSource ds1 = null;
@@ -221,9 +221,9 @@ public class ExceptionsDUnitTest extends JUnit4DistributedTestCase {
       try {
         utx.commit();
       } catch (Exception e) {
-        exceptionOccured = true;
+        exceptionOccurred = true;
       }
-      if (!exceptionOccured)
+      if (!exceptionOccurred)
         fail("Exception did not occur on commit although was supposed" + "occur");
     } catch (Exception e) {
       LogWriterUtils.getLogWriter().fine("Exception caught in runTest1 due to : " + e);
@@ -232,8 +232,8 @@ public class ExceptionsDUnitTest extends JUnit4DistributedTestCase {
   }
 
   public static void runTest2() throws Exception {
-    boolean exceptionOccured1 = false;
-    boolean exceptionOccured2 = false;
+    boolean exceptionOccurred1 = false;
+    boolean exceptionOccurred2 = false;
     try {
       Context ctx = cache.getJNDIContext();
       DataSource ds1 = null;
@@ -252,16 +252,16 @@ public class ExceptionsDUnitTest extends JUnit4DistributedTestCase {
         ds1.getConnection();
         Thread.sleep(8000);
       } catch (SQLException e) {
-        exceptionOccured1 = true;
+        exceptionOccurred1 = true;
       }
       try {
         utx.commit();
       } catch (Exception e) {
-        exceptionOccured2 = true;
+        exceptionOccurred2 = true;
       }
-      if (!exceptionOccured1)
+      if (!exceptionOccurred1)
         fail("Exception (Login-Time-Out)did not occur although was supposed" + "to occur");
-      if (exceptionOccured2)
+      if (exceptionOccurred2)
         fail("Exception did occur on commit, although was not supposed" + "to occur");
     } catch (Exception e) {
       fail("failed in runTest2 due to " + e);
@@ -269,7 +269,7 @@ public class ExceptionsDUnitTest extends JUnit4DistributedTestCase {
   }
 
   public static void runTest3() throws Exception {
-    boolean exceptionOccured = false;
+    boolean exceptionOccurred = false;
     try {
       Context ctx = cache.getJNDIContext();
       DataSource ds1 = null;
@@ -285,9 +285,9 @@ public class ExceptionsDUnitTest extends JUnit4DistributedTestCase {
       try {
         utx.commit();
       } catch (Exception e) {
-        exceptionOccured = true;
+        exceptionOccurred = true;
       }
-      if (!exceptionOccured)
+      if (!exceptionOccurred)
         fail("Exception (Transaction-Time-Out)did not occur although was supposed" + "to
occur");
     } catch (Exception e) {
       fail("failed in runTest3 due to " + e);

http://git-wip-us.apache.org/repos/asf/geode/blob/05d80689/geode-core/src/test/java/org/apache/geode/internal/jta/dunit/TransactionTimeOutDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/jta/dunit/TransactionTimeOutDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/internal/jta/dunit/TransactionTimeOutDUnitTest.java
index 9f82907..20b49e0 100755
--- a/geode-core/src/test/java/org/apache/geode/internal/jta/dunit/TransactionTimeOutDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/jta/dunit/TransactionTimeOutDUnitTest.java
@@ -194,7 +194,7 @@ public class TransactionTimeOutDUnitTest extends JUnit4DistributedTestCase
{
   }
 
   public static void runTest1() throws Exception {
-    boolean exceptionOccured = false;
+    boolean exceptionOccurred = false;
     try {
       Context ctx = cache.getJNDIContext();
       UserTransaction utx = (UserTransaction) ctx.lookup("java:/UserTransaction");
@@ -204,9 +204,9 @@ public class TransactionTimeOutDUnitTest extends JUnit4DistributedTestCase
{
       try {
         utx.commit();
       } catch (Exception e) {
-        exceptionOccured = true;
+        exceptionOccurred = true;
       }
-      if (!exceptionOccured)
+      if (!exceptionOccurred)
         fail("Exception did not occur although was supposed to occur");
     } catch (Exception e) {
       fail("failed in naming lookup: ", e);
@@ -214,7 +214,7 @@ public class TransactionTimeOutDUnitTest extends JUnit4DistributedTestCase
{
   }
 
   public static void runTest2() throws Exception {
-    boolean exceptionOccured = false;
+    boolean exceptionOccurred = false;
     try {
       Context ctx = cache.getJNDIContext();
       UserTransaction utx = (UserTransaction) ctx.lookup("java:/UserTransaction");
@@ -224,9 +224,9 @@ public class TransactionTimeOutDUnitTest extends JUnit4DistributedTestCase
{
       try {
         utx.commit();
       } catch (Exception e) {
-        exceptionOccured = true;
+        exceptionOccurred = true;
       }
-      if (!exceptionOccured)
+      if (!exceptionOccurred)
         fail("Exception did not occur although was supposed to occur");
     } catch (Exception e) {
       fail("failed in naming lookup: ", e);
@@ -248,7 +248,7 @@ public class TransactionTimeOutDUnitTest extends JUnit4DistributedTestCase
{
   }
 
   public static void runTest4() {
-    boolean exceptionOccured = true;
+    boolean exceptionOccurred = true;
     try {
       Context ctx = cache.getJNDIContext();
       UserTransaction utx = (UserTransaction) ctx.lookup("java:/UserTransaction");
@@ -259,9 +259,9 @@ public class TransactionTimeOutDUnitTest extends JUnit4DistributedTestCase
{
       try {
         utx.commit();
       } catch (Exception e) {
-        exceptionOccured = false;
+        exceptionOccurred = false;
       }
-      if (exceptionOccured) {
+      if (exceptionOccurred) {
         fail("TimeOut did not rollback the transaction");
       }
     } catch (Exception e) {
@@ -270,7 +270,7 @@ public class TransactionTimeOutDUnitTest extends JUnit4DistributedTestCase
{
   }
 
   public static void runTest5() {
-    boolean exceptionOccured = true;
+    boolean exceptionOccurred = true;
     try {
       Context ctx = cache.getJNDIContext();
       UserTransaction utx = (UserTransaction) ctx.lookup("java:/UserTransaction");
@@ -284,9 +284,9 @@ public class TransactionTimeOutDUnitTest extends JUnit4DistributedTestCase
{
       try {
         utx.commit();
       } catch (Exception e) {
-        exceptionOccured = false;
+        exceptionOccurred = false;
       }
-      if (exceptionOccured) {
+      if (exceptionOccurred) {
         fail("TimeOut did not rollback the transaction");
       }
     } catch (Exception e) {
@@ -295,7 +295,7 @@ public class TransactionTimeOutDUnitTest extends JUnit4DistributedTestCase
{
   }
 
   public static void runTest6() {
-    boolean exceptionOccured = true;
+    boolean exceptionOccurred = true;
     try {
       Context ctx = cache.getJNDIContext();
       UserTransaction utx = (UserTransaction) ctx.lookup("java:/UserTransaction");
@@ -305,9 +305,9 @@ public class TransactionTimeOutDUnitTest extends JUnit4DistributedTestCase
{
       try {
         utx.commit();
       } catch (Exception e) {
-        exceptionOccured = false;
+        exceptionOccurred = false;
       }
-      if (exceptionOccured) {
+      if (exceptionOccurred) {
         fail("TimeOut did not rollback the transaction");
       }
     } catch (Exception e) {
@@ -316,7 +316,7 @@ public class TransactionTimeOutDUnitTest extends JUnit4DistributedTestCase
{
   }
 
   public static void runTest7() {
-    // boolean exceptionOccured = true;
+    // boolean exceptionOccurred = true;
     try {
       Context ctx = cache.getJNDIContext();
       UserTransaction utx = (UserTransaction) ctx.lookup("java:/UserTransaction");
@@ -362,13 +362,13 @@ public class TransactionTimeOutDUnitTest extends JUnit4DistributedTestCase
{
       sm.close();
       conn.close();
     } catch (Exception e) {
-      fail("Exception occured in test Commit due to ", e);
+      fail("Exception occurred in test Commit due to ", e);
     }
   }
 
   public static void runTest9() {
     try {
-      boolean exceptionOccured = false;
+      boolean exceptionOccurred = false;
       Context ctx = cache.getJNDIContext();
       DataSource ds2 = (DataSource) ctx.lookup("java:/SimpleDataSource");
       ds2.getConnection();
@@ -396,19 +396,19 @@ public class TransactionTimeOutDUnitTest extends JUnit4DistributedTestCase
{
       try {
         utx.commit();
       } catch (Exception e) {
-        exceptionOccured = true;
+        exceptionOccurred = true;
       }
-      if (!exceptionOccured) {
+      if (!exceptionOccurred) {
         fail("exception did not occur on commit although transaction timed out");
       }
     } catch (Exception e) {
-      fail("Exception occured in test Commit due to ", e);
+      fail("Exception occurred in test Commit due to ", e);
     }
   }
 
   public static void runTest10() {
     try {
-      boolean exceptionOccured = false;
+      boolean exceptionOccurred = false;
       Context ctx = cache.getJNDIContext();
       DataSource ds2 = (DataSource) ctx.lookup("java:/SimpleDataSource");
       ds2.getConnection();
@@ -436,13 +436,13 @@ public class TransactionTimeOutDUnitTest extends JUnit4DistributedTestCase
{
       try {
         utx.rollback();
       } catch (Exception e) {
-        exceptionOccured = true;
+        exceptionOccurred = true;
       }
-      if (!exceptionOccured) {
+      if (!exceptionOccurred) {
         fail("exception did not occur on rollback although transaction timed out");
       }
     } catch (Exception e) {
-      fail("Exception occured in test Commit due to ", e);
+      fail("Exception occurred in test Commit due to ", e);
     }
   }
 

http://git-wip-us.apache.org/repos/asf/geode/blob/05d80689/geode-core/src/test/java/org/apache/geode/internal/jta/dunit/TxnTimeOutDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/jta/dunit/TxnTimeOutDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/internal/jta/dunit/TxnTimeOutDUnitTest.java
index 8f243ca..477054c 100755
--- a/geode-core/src/test/java/org/apache/geode/internal/jta/dunit/TxnTimeOutDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/jta/dunit/TxnTimeOutDUnitTest.java
@@ -171,7 +171,7 @@ public class TxnTimeOutDUnitTest extends JUnit4DistributedTestCase {
 
 
     } catch (Exception e) {
-      fail("exception occured in testMultiThreaded due to " + e);
+      fail("exception occurred in testMultiThreaded due to " + e);
       e.printStackTrace();
     }
   }
@@ -196,7 +196,7 @@ public class TxnTimeOutDUnitTest extends JUnit4DistributedTestCase {
   }
 
   public static void runTest1() throws Exception {
-    boolean exceptionOccured = false;
+    boolean exceptionOccurred = false;
     try {
       getSystemStatic().getLogWriter().fine("<ExpectedException action=add> +"
           + "DistributedSystemDisconnectedException" + "</ExpectedException>");
@@ -208,9 +208,9 @@ public class TxnTimeOutDUnitTest extends JUnit4DistributedTestCase {
       try {
         utx.commit();
       } catch (Exception e) {
-        exceptionOccured = true;
+        exceptionOccurred = true;
       }
-      if (!exceptionOccured)
+      if (!exceptionOccurred)
         fail("Exception did not occur although was supposed to occur");
     } catch (Exception e) {
       LogWriterUtils.getLogWriter().fine("Exception caught " + e);
@@ -222,7 +222,7 @@ public class TxnTimeOutDUnitTest extends JUnit4DistributedTestCase {
   }
 
   public static void runTest2() throws Exception {
-    boolean exceptionOccured = false;
+    boolean exceptionOccurred = false;
     try {
       Context ctx = cache.getJNDIContext();
       UserTransaction utx = (UserTransaction) ctx.lookup("java:/UserTransaction");
@@ -232,9 +232,9 @@ public class TxnTimeOutDUnitTest extends JUnit4DistributedTestCase {
       try {
         utx.commit();
       } catch (Exception e) {
-        exceptionOccured = true;
+        exceptionOccurred = true;
       }
-      if (!exceptionOccured)
+      if (!exceptionOccurred)
         fail("Exception did not occur although was supposed to occur");
     } catch (Exception e) {
       LogWriterUtils.getLogWriter().fine("Exception caught " + e);
@@ -244,7 +244,7 @@ public class TxnTimeOutDUnitTest extends JUnit4DistributedTestCase {
 
   public static void runTest3(Object o)
       throws SystemException, NotSupportedException, NamingException, InterruptedException
{
-    boolean exceptionOccured = false;
+    boolean exceptionOccurred = false;
     int sleeptime = ((Integer) o).intValue();
     Context ctx = cache.getJNDIContext();
     UserTransaction utx = (UserTransaction) ctx.lookup("java:/UserTransaction");
@@ -254,9 +254,9 @@ public class TxnTimeOutDUnitTest extends JUnit4DistributedTestCase {
     try {
       utx.commit();
     } catch (Exception e) {
-      exceptionOccured = true;
+      exceptionOccurred = true;
     }
-    if (!exceptionOccured) {
+    if (!exceptionOccurred) {
       fail("exception did not occur although was supposed to occur");
     }
   }

http://git-wip-us.apache.org/repos/asf/geode/blob/05d80689/geode-core/src/test/java/org/apache/geode/internal/jta/functional/CacheJUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/jta/functional/CacheJUnitTest.java
b/geode-core/src/test/java/org/apache/geode/internal/jta/functional/CacheJUnitTest.java
index dcc16cc..66d72d8 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/jta/functional/CacheJUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/jta/functional/CacheJUnitTest.java
@@ -919,7 +919,7 @@ public class CacheJUnitTest {
     rs.next();
     String str1 = rs.getString(1);
     if (!str1.equals("name2"))
-      fail("Rollback not occured on XAConnection got in a cache loader");
+      fail("Rollback not occurred on XAConnection got in a cache loader");
   }
 
   /**

http://git-wip-us.apache.org/repos/asf/geode/blob/05d80689/geode-core/src/test/java/org/apache/geode/security/ClientAuthorizationTestCase.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/security/ClientAuthorizationTestCase.java
b/geode-core/src/test/java/org/apache/geode/security/ClientAuthorizationTestCase.java
index b76c4fd..244f4e5 100644
--- a/geode-core/src/test/java/org/apache/geode/security/ClientAuthorizationTestCase.java
+++ b/geode-core/src/test/java/org/apache/geode/security/ClientAuthorizationTestCase.java
@@ -289,7 +289,7 @@ public abstract class ClientAuthorizationTestCase extends JUnit4DistributedTestC
     final int numOps = indices.length;
     System.out.println("Got doOp for op: " + op.toString() + ", numOps: " + numOps + ", indices:
"
         + indicesToString(indices) + ", expect: " + expectedResult);
-    boolean exceptionOccured = false;
+    boolean exceptionOccurred = false;
     boolean breakLoop = false;
 
     if (op.isGet() || op.isContainsKey() || op.isKeySet() || op.isQuery() || op.isExecuteCQ())
{
@@ -681,7 +681,7 @@ public abstract class ClientAuthorizationTestCase extends JUnit4DistributedTestC
         }
 
       } catch (Exception ex) {
-        exceptionOccured = true;
+        exceptionOccurred = true;
         if ((ex instanceof ServerConnectivityException
             || ex instanceof QueryInvocationTargetException || ex instanceof CqException)
             && (expectedResult == NOTAUTHZ_EXCEPTION)
@@ -698,7 +698,7 @@ public abstract class ClientAuthorizationTestCase extends JUnit4DistributedTestC
         }
       }
     }
-    if (!exceptionOccured && !operationOmitted && expectedResult != NO_EXCEPTION)
{
+    if (!exceptionOccurred && !operationOmitted && expectedResult != NO_EXCEPTION)
{
       fail("Expected an exception while performing operation: " + op + " flags = "
           + OpFlags.description(flags));
     }

http://git-wip-us.apache.org/repos/asf/geode/blob/05d80689/geode-cq/src/main/java/org/apache/geode/cache/query/internal/cq/CqEventImpl.java
----------------------------------------------------------------------
diff --git a/geode-cq/src/main/java/org/apache/geode/cache/query/internal/cq/CqEventImpl.java
b/geode-cq/src/main/java/org/apache/geode/cache/query/internal/cq/CqEventImpl.java
index d3cf6ce..ad5f4b0 100644
--- a/geode-cq/src/main/java/org/apache/geode/cache/query/internal/cq/CqEventImpl.java
+++ b/geode-cq/src/main/java/org/apache/geode/cache/query/internal/cq/CqEventImpl.java
@@ -123,7 +123,7 @@ public class CqEventImpl implements CqEvent {
   public void setException() {
     // Needs to be changed.
     this.throwable = new Throwable(
-        LocalizedStrings.CqEventImpl_EXCEPTION_OCCURED_WHILE_APPLYING_QUERY_ON_A_CACHE_EVENT
+        LocalizedStrings.CqEventImpl_EXCEPTION_OCCURRED_WHILE_APPLYING_QUERY_ON_A_CACHE_EVENT
             .toLocalizedString());
   }
 

http://git-wip-us.apache.org/repos/asf/geode/blob/05d80689/geode-docs/managing/troubleshooting/recovering_from_p2p_crashes.html.md.erb
----------------------------------------------------------------------
diff --git a/geode-docs/managing/troubleshooting/recovering_from_p2p_crashes.html.md.erb b/geode-docs/managing/troubleshooting/recovering_from_p2p_crashes.html.md.erb
index 5b7751f..332bdc5 100644
--- a/geode-docs/managing/troubleshooting/recovering_from_p2p_crashes.html.md.erb
+++ b/geode-docs/managing/troubleshooting/recovering_from_p2p_crashes.html.md.erb
@@ -170,7 +170,7 @@ Some general considerations for disk data recovery:
 Alert 1:
 
 ``` pre
-DiskAccessException has occured while writing to the disk for region <Region_Name>.
+DiskAccessException has occurred while writing to the disk for region <Region_Name>.
 Attempt will be made to destroy the region locally.
 ```
 

http://git-wip-us.apache.org/repos/asf/geode/blob/05d80689/geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/data/Cluster.java
----------------------------------------------------------------------
diff --git a/geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/data/Cluster.java
b/geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/data/Cluster.java
index 5972d58..78e92d4 100644
--- a/geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/data/Cluster.java
+++ b/geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/data/Cluster.java
@@ -2351,7 +2351,7 @@ public class Cluster extends Thread {
     try {
       join();
     } catch (InterruptedException e) {
-      logger.info("InterruptedException occured while stoping cluster thread : ", e);
+      logger.info("InterruptedException occurred while stoping cluster thread : ", e);
     }
   }
 

http://git-wip-us.apache.org/repos/asf/geode/blob/05d80689/geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/data/JMXDataUpdater.java
----------------------------------------------------------------------
diff --git a/geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/data/JMXDataUpdater.java
b/geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/data/JMXDataUpdater.java
index f81a1c0..c74e3cd 100644
--- a/geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/data/JMXDataUpdater.java
+++ b/geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/data/JMXDataUpdater.java
@@ -1656,7 +1656,7 @@ public class JMXDataUpdater implements IClusterUpdater, NotificationListener
{
         return (Boolean) object;
       }
     } catch (Exception e) {
-      logger.info("Exception Occured: ", e);
+      logger.info("Exception Occurred: ", e);
       return Boolean.FALSE;
     }
   }

http://git-wip-us.apache.org/repos/asf/geode/blob/05d80689/geode-pulse/src/main/webapp/scripts/lib/jquery-1.7.2.js
----------------------------------------------------------------------
diff --git a/geode-pulse/src/main/webapp/scripts/lib/jquery-1.7.2.js b/geode-pulse/src/main/webapp/scripts/lib/jquery-1.7.2.js
index 3774ff9..75ce261 100644
--- a/geode-pulse/src/main/webapp/scripts/lib/jquery-1.7.2.js
+++ b/geode-pulse/src/main/webapp/scripts/lib/jquery-1.7.2.js
@@ -8249,7 +8249,7 @@ if ( jQuery.support.ajax ) {
 							xml;
 
 						// Firefox throws exceptions when accessing properties
-						// of an xhr when a network error occured
+						// of an xhr when a network error occurred
 						// http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE)
 						try {
 

http://git-wip-us.apache.org/repos/asf/geode/blob/05d80689/geode-pulse/src/main/webapp/scripts/pulsescript/common.js
----------------------------------------------------------------------
diff --git a/geode-pulse/src/main/webapp/scripts/pulsescript/common.js b/geode-pulse/src/main/webapp/scripts/pulsescript/common.js
index 23e262b..5de8b4c 100644
--- a/geode-pulse/src/main/webapp/scripts/pulsescript/common.js
+++ b/geode-pulse/src/main/webapp/scripts/pulsescript/common.js
@@ -1320,7 +1320,7 @@ function ajaxPost(pulseUrl, pulseData, pulseCallBackName) {
     // callback handler that will be called on error
     error : function(jqXHR, textStatus, errorThrown) {
       // log the error to the console
-      console.log("The following error occured: " + textStatus, errorThrown);
+      console.log("The following error occurred: " + textStatus, errorThrown);
       $('#connectionStatusDiv').show();
       $('#connectionErrorMsgDiv').html("Pulse server is not connected");
     },

http://git-wip-us.apache.org/repos/asf/geode/blob/05d80689/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/WANTestBase.java
----------------------------------------------------------------------
diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/WANTestBase.java
b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/WANTestBase.java
index 0656dd8..f101027 100644
--- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/WANTestBase.java
+++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/WANTestBase.java
@@ -1242,9 +1242,9 @@ public class WANTestBase extends JUnit4DistributedTestCase {
     assertTrue(stats instanceof GatewayReceiverStats);
     GatewayReceiverStats gatewayReceiverStats = (GatewayReceiverStats) stats;
     if (exceptionsOccurred == 0) {
-      assertEquals(exceptionsOccurred, gatewayReceiverStats.getExceptionsOccured());
+      assertEquals(exceptionsOccurred, gatewayReceiverStats.getExceptionsOccurred());
     } else {
-      assertTrue(gatewayReceiverStats.getExceptionsOccured() >= exceptionsOccurred);
+      assertTrue(gatewayReceiverStats.getExceptionsOccurred() >= exceptionsOccurred);
     }
   }
 


Mime
View raw message