aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/server/api
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/api')
-rw-r--r--juick-server/src/main/java/com/juick/server/api/Post.java10
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;