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 br...@apache.org on 2005/10/12 15:36:56 UTC
svn commit: r314899 -
/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryElementHolder.java
Author: brazil
Date: Wed Oct 12 06:36:54 2005
New Revision: 314899
URL: http://svn.apache.org/viewcvs?rev=314899&view=rev
Log:
JDO-156: Bug fix in the assertion of the QueryElementHolder constructor taking from and to as strings.
Modified:
incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryElementHolder.java
Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryElementHolder.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryElementHolder.java?rev=314899&r1=314898&r2=314899&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryElementHolder.java (original)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryElementHolder.java Wed Oct 12 06:36:54 2005
@@ -83,7 +83,7 @@
Boolean excludeSubClasses, String filter,
String variables, String parameters, String imports,
String grouping, String ordering, String from, String to) {
- if (from != null ^ to == null) {
+ if (from == null ^ to == null) {
throw new IllegalArgumentException(
"Arguments from and to must both be null, " +
"or must not be null both.");