db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r582834 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLBlob.java
Date Mon, 08 Oct 2007 14:28:21 GMT
Author: kristwaa
Date: Mon Oct  8 07:28:18 2007
New Revision: 582834

URL: http://svn.apache.org/viewvc?rev=582834&view=rev
Log:
Removed unused imports and fixed an ambiguous method-call (null without cast). The call works
okay now because we compile with Java 1.4, but an error will be thrown if compiled with/against
Java SE 6.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLBlob.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLBlob.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLBlob.java?rev=582834&r1=582833&r2=582834&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLBlob.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLBlob.java Mon Oct  8 07:28:18
2007
@@ -21,31 +21,11 @@
 
 package org.apache.derby.iapi.types;
 
-import org.apache.derby.iapi.types.DataTypeDescriptor;
-import org.apache.derby.iapi.types.DataValueDescriptor;
-import org.apache.derby.iapi.types.TypeId;
-import org.apache.derby.iapi.types.BitDataValue;
-import org.apache.derby.iapi.types.DataValueDescriptor;
 import org.apache.derby.iapi.reference.SQLState;
 import org.apache.derby.iapi.reference.Limits;
 import org.apache.derby.iapi.error.StandardException;
-
-import org.apache.derby.iapi.types.Orderable;
-
-import org.apache.derby.iapi.services.io.FormatIdUtil;
 import org.apache.derby.iapi.services.io.StoredFormatIds;
 
-import org.apache.derby.iapi.services.sanity.SanityManager;
-
-import org.apache.derby.iapi.types.BooleanDataValue;
-import org.apache.derby.iapi.types.StringDataValue;
-import org.apache.derby.iapi.types.NumberDataValue;
-
-import org.apache.derby.iapi.services.io.FormatableBitSet;
-
-import java.io.ObjectOutput;
-import java.io.ObjectInput;
-import java.io.IOException;
 import java.sql.Blob;
 import java.sql.ResultSet;
 import java.sql.SQLException;
@@ -210,7 +190,7 @@
 		throws SQLException, StandardException
 	{
 		if (isNull()) {
-			ps.setBlob(position, null);    
+			ps.setBlob(position, (Blob)null);    
 			return;
 		}
 



Mime
View raw message