db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject svn commit: r314899 - /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryElementHolder.java
Date Wed, 12 Oct 2005 13:36:56 GMT
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.");



Mime
View raw message