db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r931206 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLBinary.java
Date Tue, 06 Apr 2010 16:08:50 GMT
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;



Mime
View raw message