Browse Source

Make `PluginStateEvent` fields `final` (#566)

pull/568/head
Sebastian Lövdahl 10 months ago committed by GitHub
parent
commit
f08629928a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      pf4j/src/main/java/org/pf4j/PluginStateEvent.java

4
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);

Loading…
Cancel
Save