db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r1845879 - /db/jdo/trunk/tck/src/main/java/org/apache/jdo/tck/query/result/IfElseResult.java
Date Tue, 06 Nov 2018 08:54:42 GMT
Author: mbo
Date: Tue Nov  6 08:54:42 2018
New Revision: 1845879

URL: http://svn.apache.org/viewvc?rev=1845879&view=rev
Log:
JDO-652: Fix IfElseResult.testPositive1

Modified:
    db/jdo/trunk/tck/src/main/java/org/apache/jdo/tck/query/result/IfElseResult.java

Modified: db/jdo/trunk/tck/src/main/java/org/apache/jdo/tck/query/result/IfElseResult.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck/src/main/java/org/apache/jdo/tck/query/result/IfElseResult.java?rev=1845879&r1=1845878&r2=1845879&view=diff
==============================================================================
--- db/jdo/trunk/tck/src/main/java/org/apache/jdo/tck/query/result/IfElseResult.java (original)
+++ db/jdo/trunk/tck/src/main/java/org/apache/jdo/tck/query/result/IfElseResult.java Tue Nov
 6 08:54:42 2018
@@ -151,7 +151,7 @@ public class IfElseResult extends QueryT
         QProject cand = QProject.candidate();
         query.result(false,
                 query.ifThenElse(BigDecimal.class, cand.members.size().gt(2),
-                        cand.budget.mul(new BigDecimal(1.2)), cand.budget.mul(new BigDecimal(1.1))));
+                        cand.budget.mul(new BigDecimal("1.2")), cand.budget.mul(new BigDecimal("1.1"))));
         query.orderBy(cand.projid.asc());
 
         QueryElementHolder holder = new QueryElementHolder(



Mime
View raw message