aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/WebfingerService.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/service/WebfingerService.java')
-rw-r--r--src/main/java/com/juick/service/WebfingerService.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main/java/com/juick/service/WebfingerService.java b/src/main/java/com/juick/service/WebfingerService.java
index ca49bd51..4accfc94 100644
--- a/src/main/java/com/juick/service/WebfingerService.java
+++ b/src/main/java/com/juick/service/WebfingerService.java
@@ -24,22 +24,18 @@ import com.juick.www.api.webfinger.model.Link;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import org.apache.commons.lang3.StringUtils;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.http.*;
+import org.springframework.http.HttpHeaders;
+import org.springframework.http.MediaType;
import org.springframework.stereotype.Component;
-import org.springframework.web.client.RestClientException;
import org.springframework.web.util.UriComponentsBuilder;
import rocks.xmpp.addr.Jid;
import javax.inject.Inject;
import java.io.IOException;
import java.net.URI;
-import java.util.Collections;
@Component
public class WebfingerService {
- private static final Logger logger = LoggerFactory.getLogger("ActivityPub");
private final OkHttpClient httpClient;
private final ObjectMapper jsonMapper;
@Inject