aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/util
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-20 14:28:00 +0300
committerGravatar Vitaly Takmazov2016-12-20 14:28:00 +0300
commit3859c9616d0a7a04e68427d173b863161b818140 (patch)
treecba4d1aea88b7ce0d94cbc30fc05f765c9faaa15 /juick-server/src/main/java/com/juick/util
parent8b02f969d3a09e39557474eb90ec821d550e3b1b (diff)
StringUtils.EMPTY
Diffstat (limited to 'juick-server/src/main/java/com/juick/util')
-rw-r--r--juick-server/src/main/java/com/juick/util/TagUtils.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/util/TagUtils.java b/juick-server/src/main/java/com/juick/util/TagUtils.java
index 157522ab..fec59f29 100644
--- a/juick-server/src/main/java/com/juick/util/TagUtils.java
+++ b/juick-server/src/main/java/com/juick/util/TagUtils.java
@@ -2,6 +2,7 @@ package com.juick.util;
import com.juick.Tag;
import org.apache.commons.collections4.CollectionUtils;
+import org.apache.commons.lang3.StringUtils;
import java.util.List;
import java.util.stream.Collectors;
@@ -16,7 +17,7 @@ public class TagUtils {
public static String toString(final List<Tag> tags) {
if (CollectionUtils.isEmpty(tags))
- return "";
+ return StringUtils.EMPTY;
return tags.stream().map(t -> " *" + t.getName())
.collect(Collectors.joining());