aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/component/UserUpdatedEvent.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-04-03 20:28:44 +0300
committerGravatar Vitaly Takmazov2020-04-03 20:28:44 +0300
commitaf1970a767b96893c6f46edb6632ec9abf6b3933 (patch)
tree999b508bf919dcc29f087bc85b029b4de9d99c7e /src/main/java/com/juick/service/component/UserUpdatedEvent.java
parent59b1a3120cab8683ae4625b832c0efa1d3a33bab (diff)
Cleanup some IDEA warnings
Diffstat (limited to 'src/main/java/com/juick/service/component/UserUpdatedEvent.java')
-rw-r--r--src/main/java/com/juick/service/component/UserUpdatedEvent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/service/component/UserUpdatedEvent.java b/src/main/java/com/juick/service/component/UserUpdatedEvent.java
index f22a5a43..d2b14468 100644
--- a/src/main/java/com/juick/service/component/UserUpdatedEvent.java
+++ b/src/main/java/com/juick/service/component/UserUpdatedEvent.java
@@ -22,7 +22,7 @@ import org.springframework.context.ApplicationEvent;
import org.springframework.lang.NonNull;
public class UserUpdatedEvent extends ApplicationEvent {
- private User user;
+ private final User user;
/**
* Generated when user is updated (avatar changed, etc).
*