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


The following commit(s) were added to refs/heads/master by this push:
     new 8214ac80 Use final
8214ac80 is described below

commit 8214ac80b7ade6993364c54fab0f54d0118e602e
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Mar 5 10:50:59 2024 -0500

    Use final
---
 .../commons/configuration2/event/EventListenerRegistrationData.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 1f2aab24..ae7e49a0 100644
--- 
a/src/main/java/org/apache/commons/configuration2/event/EventListenerRegistrationData.java
+++ 
b/src/main/java/org/apache/commons/configuration2/event/EventListenerRegistrationData.java
@@ -82,7 +82,7 @@ public final class EventListenerRegistrationData<T extends 
Event> {
 
     @Override
     public int hashCode() {
-        int result = eventType.hashCode();
+        final int result = eventType.hashCode();
         return HASH_FACTOR * result + listener.hashCode();
     }
 

Reply via email to