summaryrefslogtreecommitdiff
path: root/connectivity/qa/complex
diff options
context:
space:
mode:
authorAlchemist <rhithick02@gmail.com>2021-01-05 19:56:16 +0530
committerMike Kaganski <mike.kaganski@collabora.com>2021-01-27 12:35:39 +0100
commit8bce488df9921c845841677c17fd5f2e8c4c6dac (patch)
treea357db629f288410370620a4085cb85b4c8c34d7 /connectivity/qa/complex
parenta1146fd95022196636f8c41f7322a7257955cef4 (diff)
tdf#96505 Get rid of cargo cult 'long' integer literals
Change-Id: I8746b7b32cbebd275fe9f47cce9c80aa87fbc583 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108809 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'connectivity/qa/complex')
-rw-r--r--connectivity/qa/complex/connectivity/hsqldb/TestCacheSize.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/connectivity/qa/complex/connectivity/hsqldb/TestCacheSize.java b/connectivity/qa/complex/connectivity/hsqldb/TestCacheSize.java
index d3c802e15a40..d2ee3c680291 100644
--- a/connectivity/qa/complex/connectivity/hsqldb/TestCacheSize.java
+++ b/connectivity/qa/complex/connectivity/hsqldb/TestCacheSize.java
@@ -467,7 +467,7 @@ public class TestCacheSize {
|| (slow && (i + 1) % 100 == 0)) {
System.out.println("Select " + (i + 1) + " : "
+ sw.elapsedTime() + " rps: "
- + (1000L * i / (sw.elapsedTime() + 1)));
+ + (1000 * i / (sw.elapsedTime() + 1)));
}
}
} catch (SQLException e) {
@@ -476,7 +476,7 @@ public class TestCacheSize {
System.out.println("Select random zip " + i + " rows : "
+ sw.elapsedTime() + " rps: "
- + (1000L * i / (sw.elapsedTime() + 1)));
+ + (1000 * i / (sw.elapsedTime() + 1)));
sw.zero();
try {
@@ -500,7 +500,7 @@ public class TestCacheSize {
System.out.println("Select random id " + i + " rows : "
+ sw.elapsedTime() + " rps: "
- + (1000L * i / (sw.elapsedTime() + 1)));
+ + (1000 * i / (sw.elapsedTime() + 1)));
sw.zero();
try {
@@ -524,7 +524,7 @@ public class TestCacheSize {
System.out.println("Select random zip from zip table " + i
+ " rows : " + sw.elapsedTime() + " rps: "
- + (1000L * i / (sw.elapsedTime() + 1)));
+ + (1000 * i / (sw.elapsedTime() + 1)));
}
private void checkUpdates() {
@@ -559,7 +559,7 @@ public class TestCacheSize {
System.out.println("Update with random zip " + i
+ " UPDATE commands, " + count + " rows : "
+ sw.elapsedTime() + " rps: "
- + (1000L * count / (sw.elapsedTime() + 1)));
+ + (1000 * count / (sw.elapsedTime() + 1)));
sw.zero();
try {
@@ -577,7 +577,7 @@ public class TestCacheSize {
|| (slow && (i + 1) % 100 == 0)) {
System.out.println("Update " + (i + 1) + " : "
+ sw.elapsedTime() + " rps: "
- + (1000L * i / (sw.elapsedTime() + 1)));
+ + (1000 * i / (sw.elapsedTime() + 1)));
}
}
} catch (SQLException e) {
@@ -586,6 +586,6 @@ public class TestCacheSize {
System.out.println("Update with random id " + i + " rows : "
+ sw.elapsedTime() + " rps: "
- + (1000L * i / (sw.elapsedTime() + 1)));
+ + (1000 * i / (sw.elapsedTime() + 1)));
}
}