diff options
author | Vitaly Takmazov | 2020-04-03 20:28:44 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-04-03 20:28:44 +0300 |
commit | af1970a767b96893c6f46edb6632ec9abf6b3933 (patch) | |
tree | 999b508bf919dcc29f087bc85b029b4de9d99c7e /src/main/java/com/juick/service/activities | |
parent | 59b1a3120cab8683ae4625b832c0efa1d3a33bab (diff) |
Cleanup some IDEA warnings
Diffstat (limited to 'src/main/java/com/juick/service/activities')
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/juick/service/activities/DeleteMessageEvent.java b/src/main/java/com/juick/service/activities/DeleteMessageEvent.java index 8ca75122..d4aa3735 100644 --- a/src/main/java/com/juick/service/activities/DeleteMessageEvent.java +++ b/src/main/java/com/juick/service/activities/DeleteMessageEvent.java @@ -21,7 +21,7 @@ import com.juick.model.Message; import org.springframework.context.ApplicationEvent; public class DeleteMessageEvent extends ApplicationEvent { - private Message message; + private final Message message; /** * Create a new ApplicationEvent. * diff --git a/src/main/java/com/juick/service/activities/DeleteUserEvent.java b/src/main/java/com/juick/service/activities/DeleteUserEvent.java index a0b30c83..aee22115 100644 --- a/src/main/java/com/juick/service/activities/DeleteUserEvent.java +++ b/src/main/java/com/juick/service/activities/DeleteUserEvent.java @@ -20,7 +20,7 @@ package com.juick.service.activities; import org.springframework.context.ApplicationEvent; public class DeleteUserEvent extends ApplicationEvent { - private String userUri; + private final String userUri; /** * Create a new ApplicationEvent. * diff --git a/src/main/java/com/juick/service/activities/FollowEvent.java b/src/main/java/com/juick/service/activities/FollowEvent.java index 91779a20..055b79f4 100644 --- a/src/main/java/com/juick/service/activities/FollowEvent.java +++ b/src/main/java/com/juick/service/activities/FollowEvent.java @@ -21,7 +21,7 @@ import com.juick.server.api.activity.model.activities.Follow; import org.springframework.context.ApplicationEvent; public class FollowEvent extends ApplicationEvent { - private Follow request; + private final Follow request; /** * Create a new ApplicationEvent. * |