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 46969d4 Use the scale in the var name.
46969d4 is described below
commit 46969d4fca4db97eaa3d9b49ff918a50a6b5c6b7
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Feb 2 12:12:54 2021 -0500
Use the scale in the var name.
---
.../commons/codec/language/bm/CacheSubSequencePerformanceTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/src/test/java/org/apache/commons/codec/language/bm/CacheSubSequencePerformanceTest.java
b/src/test/java/org/apache/commons/codec/language/bm/CacheSubSequencePerformanceTest.java
index cb6a0f1..4df9e24 100644
---
a/src/test/java/org/apache/commons/codec/language/bm/CacheSubSequencePerformanceTest.java
+++
b/src/test/java/org/apache/commons/codec/language/bm/CacheSubSequencePerformanceTest.java
@@ -35,11 +35,11 @@ public class CacheSubSequencePerformanceTest {
}
private void test(final CharSequence input, final int times) {
- final long beginTime = System.currentTimeMillis();
+ final long beginTimeMillis = System.currentTimeMillis();
for (int i = 0; i < times; i++) {
test(input);
}
- System.out.println(System.currentTimeMillis() - beginTime + " millis");
+ System.out.println(System.currentTimeMillis() - beginTimeMillis + "
millis");
}
private void test(final CharSequence input) {