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-jcs.git

commit d5e9e7a776330fbb9f493e9a377c71a82b075aa6
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Jul 9 19:36:48 2024 -0400

    Remove redundant keywords
---
 .../java/org/apache/commons/jcs3/engine/ElementAttributes.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/ElementAttributes.java
 
b/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/ElementAttributes.java
index c1dece2d..7cae4754 100644
--- 
a/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/ElementAttributes.java
+++ 
b/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/ElementAttributes.java
@@ -315,7 +315,7 @@ public class ElementAttributes
     {
         final long now = System.currentTimeMillis();
         final long timeFactorForMilliseconds = getTimeFactorForMilliseconds();
-        return ( this.getCreateTime() + this.getMaxLife() * 
timeFactorForMilliseconds - now ) / 1000;
+        return ( getCreateTime() + getMaxLife() * timeFactorForMilliseconds - 
now ) / 1000;
     }
 
     /**
@@ -447,10 +447,10 @@ public class ElementAttributes
         dump.append( ", IS_SPOOL = " ).append( IS_SPOOL );
         dump.append( ", IS_REMOTE = " ).append( IS_REMOTE );
         dump.append( ", IS_ETERNAL = " ).append( IS_ETERNAL );
-        dump.append( ", MaxLifeSeconds = " ).append( this.getMaxLife() );
-        dump.append( ", IdleTime = " ).append( this.getIdleTime() );
-        dump.append( ", CreateTime = " ).append( this.getCreateTime() );
-        dump.append( ", LastAccessTime = " ).append( this.getLastAccessTime() 
);
+        dump.append( ", MaxLifeSeconds = " ).append( getMaxLife() );
+        dump.append( ", IdleTime = " ).append( getIdleTime() );
+        dump.append( ", CreateTime = " ).append( getCreateTime() );
+        dump.append( ", LastAccessTime = " ).append( getLastAccessTime() );
         dump.append( ", getTimeToLiveSeconds() = " ).append( String.valueOf( 
getTimeToLiveSeconds() ) );
         dump.append( ", createTime = " ).append( String.valueOf( createTime ) 
).append( " ]" );
 

Reply via email to