diff options
author | 2018-04-04 21:55:36 +0300 | |
---|---|---|
committer | 2018-04-04 21:55:36 +0300 | |
commit | f86e3e089ff4e4e27133156e277c94d4cd8c7111 (patch) | |
tree | e319c662eb805b95ddf31074c3a6c4b8e4b7bdbd /juick-server/src/main/java/com/juick/server/api/Post.java | |
parent | ba52f4add7a96df36112522faf0f85f41b190694 (diff) |
URI refactoring
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/api/Post.java')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/api/Post.java | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/Post.java b/juick-server/src/main/java/com/juick/server/api/Post.java index 7c8fb2ea..1dd18b66 100644 --- a/juick-server/src/main/java/com/juick/server/api/Post.java +++ b/juick-server/src/main/java/com/juick/server/api/Post.java @@ -19,9 +19,8 @@ package com.juick.server.api; import com.juick.Status; import com.juick.User; -import com.juick.server.EmailManager; -import com.juick.server.ServerManager; import com.juick.server.CommandsManager; +import com.juick.server.EmailManager; import com.juick.server.XMPPConnection; import com.juick.server.util.*; import com.juick.server.xmpp.helpers.CommandResult; @@ -39,10 +38,6 @@ import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.*; import org.springframework.web.multipart.MultipartFile; -import rocks.xmpp.addr.Jid; -import rocks.xmpp.core.stanza.model.Message; -import rocks.xmpp.extensions.nick.model.Nickname; -import rocks.xmpp.extensions.oob.model.x.OobX; import springfox.documentation.annotations.ApiIgnore; import javax.inject.Inject; @@ -53,7 +48,6 @@ import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.URI; -import java.net.URISyntaxException; import java.net.URL; import java.nio.charset.StandardCharsets; import java.nio.file.Paths; @@ -66,7 +60,7 @@ import java.util.UUID; */ @RestController public class Post { - private static Logger logger = LoggerFactory.getLogger(ServerManager.class); + private static Logger logger = LoggerFactory.getLogger(Post.class); @Inject private UserService userService; |