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-configuration.git
commit 860587e91842b3b21cca346079f1e94f104c53a9 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Mar 3 10:23:03 2024 -0500 Extra assignment is not needed --- .../commons/configuration2/event/EventListenerRegistrationData.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/configuration2/event/EventListenerRegistrationData.java b/src/main/java/org/apache/commons/configuration2/event/EventListenerRegistrationData.java index b2b7282b..1f2aab24 100644 --- a/src/main/java/org/apache/commons/configuration2/event/EventListenerRegistrationData.java +++ b/src/main/java/org/apache/commons/configuration2/event/EventListenerRegistrationData.java @@ -83,8 +83,7 @@ public final class EventListenerRegistrationData<T extends Event> { @Override public int hashCode() { int result = eventType.hashCode(); - result = HASH_FACTOR * result + listener.hashCode(); - return result; + return HASH_FACTOR * result + listener.hashCode(); } /**