chore: drop unused jsoup connection factory (#2151)
This commit is contained in:
-13
@@ -1,13 +0,0 @@
|
|||||||
package org.booklore.service.metadata.parser;
|
|
||||||
|
|
||||||
import org.jsoup.Connection;
|
|
||||||
import org.jsoup.Jsoup;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
public class DefaultJsoupConnectionFactory implements JsoupConnectionFactory {
|
|
||||||
@Override
|
|
||||||
public Connection connect(String url) {
|
|
||||||
return Jsoup.connect(url);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
package org.booklore.service.metadata.parser;
|
|
||||||
|
|
||||||
import org.jsoup.Connection;
|
|
||||||
|
|
||||||
public interface JsoupConnectionFactory {
|
|
||||||
Connection connect(String url);
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user