db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject svn commit: r355537 - /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryTest.java
Date Fri, 09 Dec 2005 16:57:38 GMT
Author: brazil
Date: Fri Dec  9 08:57:33 2005
New Revision: 355537

URL: http://svn.apache.org/viewcvs?rev=355537&view=rev
Log:
JDO-254: Fix message when query compilation fails.

Modified:
    incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryTest.java

Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryTest.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryTest.java?rev=355537&r1=355536&r2=355537&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryTest.java (original)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryTest.java Fri Dec  9
08:57:33 2005
@@ -790,7 +790,8 @@
         if (logger.isDebugEnabled()) {
             logger.debug("Compiling API query: " + queryElementHolder);
         }
-        compile(assertion, queryElementHolder, false, null, positive);
+        compile(assertion, queryElementHolder, false, 
+                queryElementHolder.toString(), positive);
     }
 
     /**
@@ -812,7 +813,8 @@
         if (logger.isDebugEnabled())
             logger.debug("Compiling single string query: " + 
                     queryElementHolder);
-        compile(assertion, queryElementHolder, true, null, positive);
+        compile(assertion, queryElementHolder, true, 
+                queryElementHolder.toString(), positive);
     }
     
     /**



Mime
View raw message