harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r772664 - in /harmony/enhanced/classlib/trunk/modules/sql/src: main/java/org/apache/harmony/sql/internal/rowset/ test/java/org/apache/harmony/sql/tests/internal/rowset/
Date Thu, 07 May 2009 14:37:42 GMT
Author: hindessm
Date: Thu May  7 14:37:42 2009
New Revision: 772664

URL: http://svn.apache.org/viewvc?rev=772664&view=rev
Log:
Typo fixes.

Modified:
    harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/JoinRowSetImpl.java
    harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetImplTest.java
    harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/JoinRowSetCachedRowSetTest.java
    harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/JoinRowSetJoinTest.java

Modified: harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/JoinRowSetImpl.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/JoinRowSetImpl.java?rev=772664&r1=772663&r2=772664&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/JoinRowSetImpl.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/JoinRowSetImpl.java
Thu May  7 14:37:42 2009
@@ -648,7 +648,7 @@
 
         /*
          * Computes the column count of rowSetToAdd, the result rowSet, the
-         * orignal rowSet.
+         * original rowSet.
          */
         int addedColumnCount = rowSetToAdd.getMetaData().getColumnCount();
         int resultColumnCount = this.getMetaData().getColumnCount();
@@ -674,7 +674,7 @@
                 while (rowSetToAdd.next()) {
                     rowToAdd = rowSetToAdd.getCurrentRow();
                     if (comparator.compare(row, rowToAdd) == 0) {
-                        // It match, contruct a new row, add it to list.
+                        // It match, construct a new row, add it to list.
                         newRow = constructNewRow(row, rowToAdd,
                                 matchColumnIndex, matchColumnIndexOfToAdd,
                                 resultColumnCount, originalColumnCount);
@@ -708,7 +708,7 @@
 
         /*
          * Computes the column count of rowSetToAdd, the result rowSet, the
-         * orignal rowSet.
+         * original rowSet.
          */
         int addedColumnCount = rowSetToAdd.getMetaData().getColumnCount();
         int resultColumnCount = this.getMetaData().getColumnCount();
@@ -723,7 +723,7 @@
         /*
          * Sort the original rows. Set both the column to compared to the match
          * index of original rows, since the comprasion will happened inside the
-         * orignal rows.
+         * original rows.
          */
         comparator.setFirstIndex(matchColumnIndex);
         comparator.setSecondIndex(matchColumnIndex);
@@ -739,7 +739,7 @@
 
         int position;
         /*
-         * Iterates the rows of rowSetToAdd, find matched row in orignal rows
+         * Iterates the rows of rowSetToAdd, find matched row in original rows
          * using binary search.(It has been sorted).
          */
         rowSetToAdd.beforeFirst();
@@ -768,7 +768,7 @@
              * joined.
              */
             if (getShowDeleted() || !row.isDelete()) {
-                // Contruct a new row, add it to list.
+                // Construct a new row, add it to list.
                 newRow = constructNewRow(row, rowToAdd, matchColumnIndex,
                         matchColumnIndexOfToAdd, resultColumnCount,
                         originalColumnCount);

Modified: harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetImplTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetImplTest.java?rev=772664&r1=772663&r2=772664&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetImplTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetImplTest.java
Thu May  7 14:37:42 2009
@@ -810,7 +810,7 @@
         crset.updateRow();
         try {
             /*
-             * seems ri doesn't release lock when expception throw from
+             * seems ri doesn't release lock when exception throw from
              * acceptChanges(), which will cause test case block at insertData()
              * when next test case setUp, so we must pass current connection to
              * it, and all resource would be released after connection closed.

Modified: harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/JoinRowSetCachedRowSetTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/JoinRowSetCachedRowSetTest.java?rev=772664&r1=772663&r2=772664&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/JoinRowSetCachedRowSetTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/JoinRowSetCachedRowSetTest.java
Thu May  7 14:37:42 2009
@@ -282,8 +282,8 @@
         assertEquals("hermit", jrs.getString(2));
 
         /*
-         * Add another CachedRowSet which also can call execute() sucessfully to
-         * JoinRowSet
+         * Add another CachedRowSet which also can call execute()
+         * successfully to JoinRowSet
          */
         noInitialCrset = newNoInitialInstance();
         noInitialCrset.setCommand("select * from BOOKS");
@@ -712,7 +712,7 @@
         }
     }
 
-    public void testAcceptChange_UpdateOrignailRowSet() throws Exception {
+    public void testAcceptChange_UpdateOriginalRowSet() throws Exception {
         jrs.addRowSet(crset, 1);
         crset.absolute(4);
         crset.updateString(2, "Updated");

Modified: harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/JoinRowSetJoinTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/JoinRowSetJoinTest.java?rev=772664&r1=772663&r2=772664&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/JoinRowSetJoinTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/JoinRowSetJoinTest.java
Thu May  7 14:37:42 2009
@@ -764,7 +764,7 @@
         return rowNum;
     }
     
-    public void testJoin_OrignalShowDeleted() throws SQLException {
+    public void testJoin_OriginalShowDeleted() throws SQLException {
         jrs.addRowSet(crset, 1);
         
         jrs.first();
@@ -781,7 +781,7 @@
         assertEquals(3, rowNum);     
     }
     
-    public void testJoin_OrignalShowDeleted2() throws SQLException {
+    public void testJoin_OriginalShowDeleted2() throws SQLException {
         crset.setShowDeleted(true);
         jrs.addRowSet(crset, 1);
         
@@ -826,7 +826,7 @@
         assertFalse(jrs.isFirst());
     }
     
-    public void testJoin_OrignalShowDeleted3() throws Exception {
+    public void testJoin_OriginalShowDeleted3() throws Exception {
         CachedRowSet crset2 = newNoInitialInstance();
         rs = st.executeQuery("select * from books");
         crset2.populate(rs);



Mime
View raw message