aboutsummaryrefslogtreecommitdiffstats
path: root/pf4j
diff options
context:
space:
mode:
authorSebastian Lövdahl <slovdahl@hibox.fi>2024-02-13 19:51:57 +0200
committerGitHub <noreply@github.com>2024-02-13 19:51:57 +0200
commitf08629928ac74de49f4f11a90aff76f584079ff0 (patch)
tree80db41dfbcfaf7671e9575bb1ca4f08bff4f10bd /pf4j
parent6e4e6b37818d00e685863c0eb3e40d47e6c7de90 (diff)
downloadpf4j-f08629928ac74de49f4f11a90aff76f584079ff0.tar.gz
pf4j-f08629928ac74de49f4f11a90aff76f584079ff0.zip
Make `PluginStateEvent` fields `final` (#566)
Diffstat (limited to 'pf4j')
-rw-r--r--pf4j/src/main/java/org/pf4j/PluginStateEvent.java4
1 files 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);