You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/02/02 16:58:43 UTC
[commons-codec] branch master updated: Specify scale fully in
internal name.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git
The following commit(s) were added to refs/heads/master by this push:
new 7ea3a6a Specify scale fully in internal name.
7ea3a6a is described below
commit 7ea3a6a035e879587f88938c166322ecc151b049
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Feb 2 11:58:39 2021 -0500
Specify scale fully in internal name.
---
src/test/java/org/apache/commons/codec/digest/PureJavaCrc32Test.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32Test.java b/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32Test.java
index 192ed45..4a226b6 100644
--- a/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32Test.java
+++ b/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32Test.java
@@ -334,8 +334,8 @@ public class PureJavaCrc32Test {
crc.update(bytes, 0, size);
}
final long et = System.nanoTime();
- final double secsElapsed = (et - st) / 1000000000.0d;
- results[index] = new BenchResult(crc.getValue(), mbProcessed/secsElapsed);
+ final double secondsElapsed = (et - st) / 1000000000.0d;
+ results[index] = new BenchResult(crc.getValue(), mbProcessed/secondsElapsed);
}
};
}