From f08629928ac74de49f4f11a90aff76f584079ff0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20L=C3=B6vdahl?= Date: Tue, 13 Feb 2024 19:51:57 +0200 Subject: [PATCH] Make `PluginStateEvent` fields `final` (#566) --- pf4j/src/main/java/org/pf4j/PluginStateEvent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pf4j/src/main/java/org/pf4j/PluginStateEvent.java b/pf4j/src/main/java/org/pf4j/PluginStateEvent.java index 99ef91c..8793abe 100644 --- a/pf4j/src/main/java/org/pf4j/PluginStateEvent.java +++ b/pf4j/src/main/java/org/pf4j/PluginStateEvent.java @@ -28,8 +28,8 @@ import java.util.EventObject; */ public class PluginStateEvent extends EventObject { - private PluginWrapper plugin; - private PluginState oldState; + private final PluginWrapper plugin; + private final PluginState oldState; public PluginStateEvent(PluginManager source, PluginWrapper plugin, PluginState oldState) { super(source); -- 2.39.5