geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlmonte...@apache.org
Subject [geronimo-jcache-simple] branch master updated: fix type
Date Tue, 05 Jun 2018 07:49:02 GMT
This is an automated email from the ASF dual-hosted git repository.

jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/geronimo-jcache-simple.git


The following commit(s) were added to refs/heads/master by this push:
     new f13efc7  fix type
f13efc7 is described below

commit f13efc7c8bfeddb40f1c652b32a560a2f4b703b3
Author: Jean-Louis Monteiro <jeanouii@gmail.com>
AuthorDate: Tue Jun 5 09:48:24 2018 +0200

    fix type
---
 src/main/java/org/apache/geronimo/jcache/simple/Statistics.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/geronimo/jcache/simple/Statistics.java b/src/main/java/org/apache/geronimo/jcache/simple/Statistics.java
index ffead32..b2c99cf 100644
--- a/src/main/java/org/apache/geronimo/jcache/simple/Statistics.java
+++ b/src/main/java/org/apache/geronimo/jcache/simple/Statistics.java
@@ -23,7 +23,7 @@ import java.util.concurrent.atomic.AtomicLong;
 public class Statistics {
 
     private final AtomicLong removals = new AtomicLong();
-    private final AtomicLong expiries = new AtomicLong();
+    private final AtomicLong expires = new AtomicLong();
     private final AtomicLong puts = new AtomicLong();
     private final AtomicLong hits = new AtomicLong();
     private final AtomicLong misses = new AtomicLong();
@@ -70,7 +70,7 @@ public class Statistics {
     }
 
     public void increaseExpiries(final long number) {
-        increment(expiries, number);
+        increment(expires, number);
     }
 
     public void increasePuts(final long number) {
@@ -125,7 +125,7 @@ public class Statistics {
         puts.set(0);
         misses.set(0);
         removals.set(0);
-        expiries.set(0);
+        expires.set(0);
         hits.set(0);
         evictions.set(0);
         getTimeTaken.set(0);

-- 
To stop receiving notification emails like this one, please contact
jlmonteiro@apache.org.

Mime
View raw message