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-collections.git
The following commit(s) were added to refs/heads/master by this push: new 7c9793acc Use *= 7c9793acc is described below commit 7c9793acc3959c06c1f1d3218c9a195936579caf Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Mon Jan 15 09:25:22 2024 -0500 Use *= --- .../org/apache/commons/collections4/map/ReferenceIdentityMapTest.java | 2 +- .../java/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<K, V> extends AbstractIterableMapTest<K, V // create garbage: @SuppressWarnings("unused") final byte[] b = new byte[bytz]; - bytz = bytz * 2; + bytz *= 2; } } diff --git a/src/test/java/org/apache/commons/collections4/map/ReferenceMapTest.java b/src/test/java/org/apache/commons/collections4/map/ReferenceMapTest.java index 342530a9a..7a430af66 100644 --- a/src/test/java/org/apache/commons/collections4/map/ReferenceMapTest.java +++ b/src/test/java/org/apache/commons/collections4/map/ReferenceMapTest.java @@ -252,7 +252,7 @@ public class ReferenceMapTest<K, V> extends AbstractIterableMapTest<K, V> { // create garbage: @SuppressWarnings("unused") final byte[] b = new byte[bytz]; - bytz = bytz * 2; + bytz *= 2; } } @@ -286,7 +286,7 @@ public class ReferenceMapTest<K, V> extends AbstractIterableMapTest<K, V> { // create garbage: @SuppressWarnings("unused") final byte[] b = new byte[bytz]; - bytz = bytz * 2; + bytz *= 2; } assertFalse(expiredValues.isEmpty(), "Value should be stored"); }