You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by kr...@apache.org on 2007/10/08 16:28:21 UTC

svn commit: r582834 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLBlob.java

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;
 		}