db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r558823 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/access/RowUtil.java
Date Mon, 23 Jul 2007 18:24:58 GMT
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)
                 {



Mime
View raw message