You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2020/04/17 09:11:25 UTC

[jena] branch master updated: Remove unnecessary casts

This is an automated email from the ASF dual-hosted git repository.

andy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jena.git


The following commit(s) were added to refs/heads/master by this push:
     new f1c6051  Remove unnecessary casts
f1c6051 is described below

commit f1c6051ae0d1cf80310e6cdc2e6458b6441c4ff1
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Fri Apr 17 10:11:13 2020 +0100

    Remove unnecessary casts
---
 .../test/java/org/apache/jena/query/TestQueryCloningCornerCases.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/jena-arq/src/test/java/org/apache/jena/query/TestQueryCloningCornerCases.java b/jena-arq/src/test/java/org/apache/jena/query/TestQueryCloningCornerCases.java
index 413e628..d257bcd 100644
--- a/jena-arq/src/test/java/org/apache/jena/query/TestQueryCloningCornerCases.java
+++ b/jena-arq/src/test/java/org/apache/jena/query/TestQueryCloningCornerCases.java
@@ -58,8 +58,8 @@ public class TestQueryCloningCornerCases {
         }
         transformSw.stop();
 
-        double qpsPrintParse = n / (double)(printParseSw.elapsed(TimeUnit.MILLISECONDS) * 0.001);
-        double qpsTransform = n / (double)(transformSw.elapsed(TimeUnit.MILLISECONDS) * 0.001);
+        double qpsPrintParse = n / (printParseSw.elapsed(TimeUnit.MILLISECONDS) * 0.001);
+        double qpsTransform = n / (transformSw.elapsed(TimeUnit.MILLISECONDS) * 0.001);
         System.out.println("Queries/Second [Print-Parse: " + qpsPrintParse + "], [Transform: " + qpsTransform + "]");
     }