db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r566288 - in /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute: IndexChanger.java IndexRow.java
Date Wed, 15 Aug 2007 18:12:03 GMT
Author: djd
Date: Wed Aug 15 11:12:02 2007
New Revision: 566288

URL: http://svn.apache.org/viewvc?view=rev&rev=566288
Log:
Minor cleanup in Index* classes. Remove an unused variable that included creating an unused
object, and make a constructor non-public tomatch its use.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/IndexChanger.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/IndexRow.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/IndexChanger.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/IndexChanger.java?view=diff&rev=566288&r1=566287&r2=566288
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/IndexChanger.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/IndexChanger.java Wed
Aug 15 11:12:02 2007
@@ -629,7 +629,6 @@
 		throws StandardException
 	{
 		ExecRow			deferredRow;
-		ExecIndexRow	deferredIndexRow = new IndexRow();
 
 		/* Deferred processing only necessary for unique indexes */
 		if (rowHolder != null)

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/IndexRow.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/IndexRow.java?view=diff&rev=566288&r1=566287&r2=566288
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/IndexRow.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/IndexRow.java Wed Aug
15 11:12:02 2007
@@ -21,21 +21,15 @@
 
 package org.apache.derby.impl.sql.execute;
 
-import org.apache.derby.iapi.services.sanity.SanityManager;
+import java.io.IOException;
+import java.io.ObjectInput;
+import java.io.ObjectOutput;
 
+import org.apache.derby.iapi.services.io.StoredFormatIds;
+import org.apache.derby.iapi.services.sanity.SanityManager;
 import org.apache.derby.iapi.sql.execute.ExecIndexRow;
 import org.apache.derby.iapi.sql.execute.ExecRow;
 
-import org.apache.derby.iapi.services.io.Formatable;
-import org.apache.derby.iapi.services.io.StoredFormatIds;
-import org.apache.derby.iapi.services.io.FormatIdUtil;
-
-import org.apache.derby.iapi.services.stream.HeaderPrintWriter;
-
-import java.io.ObjectOutput;
-import java.io.ObjectInput;
-import java.io.IOException;
-
 
 /**
 	Basic implementation of ExecIndexRow.
@@ -78,7 +72,7 @@
 	 */
     public	IndexRow() {}
 
-	public IndexRow(int ncols) {
+	IndexRow(int ncols) {
 		 super(ncols);
 		 orderedNulls = new boolean[ncols];	/* Initializes elements to false */
 	}



Mime
View raw message