diff options
Diffstat (limited to 'src/main/java/com/juick/service/component/UserUpdatedEvent.java')
-rw-r--r-- | src/main/java/com/juick/service/component/UserUpdatedEvent.java | 2 |
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). * |