diff options
author | Vitaly Takmazov | 2024-02-09 16:02:43 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-02-09 16:02:43 +0300 |
commit | 8289a0b1097f02a99d62f4f7750e6b46a54a54fc (patch) | |
tree | be0e04b409757be58d5a39fbde93ce3d96b02142 /src/main/java/com/juick/www/api/activity/model | |
parent | b11525961a8bf68355f3e4728375b209a91f6787 (diff) |
Append IDEA code suggestions
Diffstat (limited to 'src/main/java/com/juick/www/api/activity/model')
-rw-r--r-- | src/main/java/com/juick/www/api/activity/model/Activity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/www/api/activity/model/Activity.java b/src/main/java/com/juick/www/api/activity/model/Activity.java index 7cc0b13f..427990c6 100644 --- a/src/main/java/com/juick/www/api/activity/model/Activity.java +++ b/src/main/java/com/juick/www/api/activity/model/Activity.java @@ -38,7 +38,7 @@ public abstract class Activity extends Context { public void setActor(String actor) { this.actor = actor; if (StringUtils.isEmpty(getId())) { - setId(String.format("%s#%s", this.actor, UUID.randomUUID().toString())); + setId(String.format("%s#%s", this.actor, UUID.randomUUID())); } } |