db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r608466 - in /db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access: btree/BTreeScan.java conglomerate/TemplateRow.java
Date Thu, 03 Jan 2008 12:37:28 GMT
Author: kristwaa
Date: Thu Jan  3 04:37:27 2008
New Revision: 608466

URL: http://svn.apache.org/viewvc?rev=608466&view=rev
Log:
DERBY-2359: Code cleanups for the org.apache.derby.impl.store.access.* packages. Removed a
self-assignment and an unused variable.
Patch file: n/a

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/btree/BTreeScan.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/conglomerate/TemplateRow.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/btree/BTreeScan.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/btree/BTreeScan.java?rev=608466&r1=608465&r2=608466&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/btree/BTreeScan.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/btree/BTreeScan.java
Thu Jan  3 04:37:27 2008
@@ -483,7 +483,6 @@
         this.scan_state         = SCAN_INPROGRESS;
         pos.current_scan_protectionHandle =
             pos.current_leaf.page.getProtectionRecordHandle();
-		pos.current_slot        = pos.current_slot;
 
         if (SanityManager.DEBUG)
             SanityManager.ASSERT(pos.current_leaf != null);

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/conglomerate/TemplateRow.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/conglomerate/TemplateRow.java?rev=608466&r1=608465&r2=608466&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/conglomerate/TemplateRow.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/conglomerate/TemplateRow.java
Thu Jan  3 04:37:27 2008
@@ -76,8 +76,6 @@
     int[]               collation_ids)
 		throws StandardException
     {
-        int         dest_pos = 0;
-
         DataValueDescriptor[] ret_row = 
             new DataValueDescriptor[num_cols_to_allocate];
         int         num_cols = 



Mime
View raw message