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 ka...@apache.org on 2010/04/06 18:08:50 UTC
svn commit: r931206 -
/db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLBinary.java
Author: kahatlen
Date: Tue Apr 6 16:08:50 2010
New Revision: 931206
URL: http://svn.apache.org/viewvc?rev=931206&view=rev
Log:
Remove offensive language in assert message
Modified:
db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLBinary.java
Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLBinary.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLBinary.java?rev=931206&r1=931205&r2=931206&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLBinary.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLBinary.java Tue Apr 6 16:08:50 2010
@@ -572,8 +572,9 @@ abstract class SQLBinary
&& (StoredFormatIds.SQL_BLOB_ID == getTypeFormatId()))
))
SanityManager.THROWASSERT(
- "Some fool passed in a "+ other.getClass().getName() + ", "
- + otherTypeFormatId + " to SQLBinary.compare()");
+ "An object of type " + other.getClass().getName() +
+ ", with format id " + otherTypeFormatId +
+ ", was passed to SQLBinary.compare()");
}
if (this.isNull() || other.isNull())
return unknownRV;