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 2024/07/10 01:23:16 UTC

(commons-jcs) 14/31: Remove useless parens

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 c73be40527b5fecd7203c624565195d3ecee7b31
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jul 9 19:31:19 2024 -0400

    Remove useless parens
---
 .../apache/commons/jcs3/engine/memory/fifo/FIFOMemoryCacheUnitTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-jcs3-core/src/test/java/org/apache/commons/jcs3/engine/memory/fifo/FIFOMemoryCacheUnitTest.java b/commons-jcs3-core/src/test/java/org/apache/commons/jcs3/engine/memory/fifo/FIFOMemoryCacheUnitTest.java
index 526b8f91..8ae5e86d 100644
--- a/commons-jcs3-core/src/test/java/org/apache/commons/jcs3/engine/memory/fifo/FIFOMemoryCacheUnitTest.java
+++ b/commons-jcs3-core/src/test/java/org/apache/commons/jcs3/engine/memory/fifo/FIFOMemoryCacheUnitTest.java
@@ -56,7 +56,7 @@ public class FIFOMemoryCacheUnitTest
         cache.initialize( new CompositeCache<>( attributes, new ElementAttributes() ) );
 
         // DO WORK
-        for ( int i = 0; i < (maxObjects * 2); i++ )
+        for ( int i = 0; i < maxObjects * 2; i++ )
         {
             final CacheElement<String, String> element = new CacheElement<>( cacheName, "key" + i, "value" + i );
             cache.update( element );