aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com/juick/www/XMPPPost.java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/XMPPPost.java')
-rw-r--r--juick-www/src/main/java/com/juick/www/XMPPPost.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/XMPPPost.java b/juick-www/src/main/java/com/juick/www/XMPPPost.java
index b2fda6e2..c2ec42d7 100644
--- a/juick-www/src/main/java/com/juick/www/XMPPPost.java
+++ b/juick-www/src/main/java/com/juick/www/XMPPPost.java
@@ -33,7 +33,7 @@ public class XMPPPost {
response.sendError(HttpServletResponse.SC_FORBIDDEN);
return;
}
- String body = request.getParameter("body").replace("\r", "");
+ String body = request.getParameter("body").replace("\r", StringUtils.EMPTY);
int mid = NumberUtils.toInt(request.getParameter("mid"), 0);
int rid = NumberUtils.toInt(request.getParameter("rid"), 0);
if (mid > 0 && rid > 0) {