diff options
author | Vitaly Takmazov | 2020-10-08 16:46:05 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-10-08 16:46:05 +0300 |
commit | 21439c3e0b7c7396ad859149bcbf2197ac6334e1 (patch) | |
tree | 07d6874956fec3c13cb34e4cfbd1cc391bd34cae /src/main/java/com/juick/service/activities | |
parent | 7229f06e0bc5c61dc17cb539c7b54273b66b16b6 (diff) |
Apply some IDEA suggestions
Diffstat (limited to 'src/main/java/com/juick/service/activities')
-rw-r--r-- | src/main/java/com/juick/service/activities/UndoAnnounceEvent.java | 4 | ||||
-rw-r--r-- | src/main/java/com/juick/service/activities/UndoFollowEvent.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/juick/service/activities/UndoAnnounceEvent.java b/src/main/java/com/juick/service/activities/UndoAnnounceEvent.java index 6528f259..683e7f78 100644 --- a/src/main/java/com/juick/service/activities/UndoAnnounceEvent.java +++ b/src/main/java/com/juick/service/activities/UndoAnnounceEvent.java @@ -20,8 +20,8 @@ package com.juick.service.activities; import org.springframework.context.ApplicationEvent; public class UndoAnnounceEvent extends ApplicationEvent { - private String actorUri; - private String messageUri; + private final String actorUri; + private final String messageUri; public UndoAnnounceEvent(Object source, String actor, String messageUri) { super(source); diff --git a/src/main/java/com/juick/service/activities/UndoFollowEvent.java b/src/main/java/com/juick/service/activities/UndoFollowEvent.java index a71de980..2f5201a9 100644 --- a/src/main/java/com/juick/service/activities/UndoFollowEvent.java +++ b/src/main/java/com/juick/service/activities/UndoFollowEvent.java @@ -20,8 +20,8 @@ package com.juick.service.activities; import org.springframework.context.ApplicationEvent; public class UndoFollowEvent extends ApplicationEvent { - private String actor; - private String object; + private final String actor; + private final String object; /** * Create a new ApplicationEvent. * |