From 7c9793acc3959c06c1f1d3218c9a195936579caf Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Mon, 15 Jan 2024 09:25:22 -0500 Subject: [PATCH] Use *= --- .../commons/collections4/map/ReferenceIdentityMapTest.java | 2 +- .../org/apache/commons/collections4/map/ReferenceMapTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/apache/commons/collections4/map/ReferenceIdentityMapTest.java b/src/test/java/org/apache/commons/collections4/map/ReferenceIdentityMapTest.java index 0b7770272..cde2d200d 100644 --- a/src/test/java/org/apache/commons/collections4/map/ReferenceIdentityMapTest.java +++ b/src/test/java/org/apache/commons/collections4/map/ReferenceIdentityMapTest.java @@ -322,7 +322,7 @@ public class ReferenceIdentityMapTest extends AbstractIterableMapTest extends AbstractIterableMapTest { // create garbage: @SuppressWarnings("unused") final byte[] b = new byte[bytz]; - bytz = bytz * 2; + bytz *= 2; } } @@ -286,7 +286,7 @@ public class ReferenceMapTest extends AbstractIterableMapTest { // create garbage: @SuppressWarnings("unused") final byte[] b = new byte[bytz]; - bytz = bytz * 2; + bytz *= 2; } assertFalse(expiredValues.isEmpty(), "Value should be stored"); }