You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by dj...@apache.org on 2007/07/23 20:24:58 UTC

svn commit: r558823 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/access/RowUtil.java

Author: djd
Date: Mon Jul 23 11:24:57 2007
New Revision: 558823

URL: http://svn.apache.org/viewvc?view=rev&rev=558823
Log:
Use DataValueDescriptor[] in RowUtil methods since now a row is always passed to
it as a DataValueDescriptor[].

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/access/RowUtil.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/access/RowUtil.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/access/RowUtil.java?view=diff&rev=558823&r1=558822&r2=558823
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/access/RowUtil.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/access/RowUtil.java Mon Jul 23 11:24:57 2007
@@ -566,7 +566,7 @@
 	 * @exception  StandardException  Standard exception policy.
      **/
 	public static final boolean qualifyRow(
-    Object[]        row, 
+    DataValueDescriptor[]        row, 
     Qualifier[][]   qual_list)
 		 throws StandardException
 	{
@@ -598,8 +598,7 @@
 
             // Get the column from the possibly partial row, of the 
             // q.getColumnId()'th column in the full row.
-            DataValueDescriptor columnValue = 
-                    (DataValueDescriptor) row[q.getColumnId()];
+            DataValueDescriptor columnValue = row[q.getColumnId()];
 
             row_qualifies =
                 columnValue.compare(
@@ -645,8 +644,7 @@
 
                 // Get the column from the possibly partial row, of the 
                 // q.getColumnId()'th column in the full row.
-                DataValueDescriptor columnValue = 
-                    (DataValueDescriptor) row[q.getColumnId()];
+                DataValueDescriptor columnValue = row[q.getColumnId()];
 
                 if (SanityManager.DEBUG)
                 {