You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by mc...@apache.org on 2007/11/09 22:50:47 UTC
svn commit: r593661 -
/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayCollections.java
Author: mcaisse
Date: Fri Nov 9 13:50:46 2007
New Revision: 593661
URL: http://svn.apache.org/viewvc?rev=593661&view=rev
Log:
Improve error message.
Modified:
db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayCollections.java
Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayCollections.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayCollections.java?rev=593661&r1=593660&r2=593661&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayCollections.java (original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayCollections.java Fri Nov 9 13:50:46 2007
@@ -167,8 +167,8 @@
expected = expectedValue.get(i);
actual = pi.get(i);
if (actual == null) {
- sbuf.append("\nFor element " + i
- + ", retrieved instance is null.");
+ sbuf.append("\nFor " + ArrayCollections.fieldSpecs[i]
+ + ", retrieved field is null.");
continue;
}
if (expected.length != actual.length) {