db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r686193 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/TableScanResultSet.java
Date Fri, 15 Aug 2008 11:24:20 GMT
Author: myrnavl
Date: Fri Aug 15 04:24:19 2008
New Revision: 686193

URL: http://svn.apache.org/viewvc?rev=686193&view=rev
Log:
DERBY-3798: remove unnecessary call to Hashtable.get()
  Patch contributed by Junjie Peng

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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/TableScanResultSet.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/TableScanResultSet.java?rev=686193&r1=686192&r2=686193&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/TableScanResultSet.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/TableScanResultSet.java
Fri Aug 15 04:24:19 2008
@@ -706,10 +706,8 @@
 					if (past2FutureTbl != null)
 					{
 						RowLocation rowLoc = (RowLocation) currentRow.getColumn(currentRow.nColumns());
-						if (past2FutureTbl.get(rowLoc) != null)
-						{
-							past2FutureTbl.remove(rowLoc);
-							continue;
+						if (past2FutureTbl.remove(rowLoc) != null){
+						    continue;
 						}
 					}
 
@@ -1260,7 +1258,6 @@
 								 GeneratedMethod positionGetter,
 								 ExecIndexRow positioner)
 	{
-                String idt = "";
 		String output = "";
 		if (positionGetter == null)
 		{



Mime
View raw message