aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-11-10 16:44:04 +0300
committerGravatar Vitaly Takmazov2024-11-24 22:51:46 +0300
commit997917cfe73ab2f48ecc9c4624ac64f1ce6474b9 (patch)
tree29af502fbea9cc6ca3bf9cc786cbd11c6efe5728 /src/main/java
parent700a1a7ab859512322f796197b640fa25786499a (diff)
Drop unused code
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/juick/util/MessageUtils.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/com/juick/util/MessageUtils.java b/src/main/java/com/juick/util/MessageUtils.java
index ee6ff772..fff97f66 100644
--- a/src/main/java/com/juick/util/MessageUtils.java
+++ b/src/main/java/com/juick/util/MessageUtils.java
@@ -291,10 +291,6 @@ public class MessageUtils {
return URLEncoder.encode(s, StandardCharsets.UTF_8).replace("+", "%20")
.replace("*", "%2A").replace("%7E", "~");
}
- public static String formatMarkdownText(final Message msg) {
- return StringUtils.defaultString(msg.getText())
- .replaceAll(replyNumberRegex, String.format("$1[/$2](https://juick.com/m/%d#$2)$3", msg.getMid()));
- }
public static String attachmentUrl(final Message jmsg) {
if (StringUtils.isEmpty(jmsg.getAttachmentType())) {
return StringUtils.EMPTY;