aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/activities
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-10-08 16:46:05 +0300
committerGravatar Vitaly Takmazov2020-10-08 16:46:05 +0300
commit21439c3e0b7c7396ad859149bcbf2197ac6334e1 (patch)
tree07d6874956fec3c13cb34e4cfbd1cc391bd34cae /src/main/java/com/juick/service/activities
parent7229f06e0bc5c61dc17cb539c7b54273b66b16b6 (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.java4
-rw-r--r--src/main/java/com/juick/service/activities/UndoFollowEvent.java4
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.
*