Remove EhConfig from EhRequestBuilder

This commit is contained in:
seven332 committed 2019-02-17 12:59:03 +08:00
1 parent fd5f6c3466
commit 77a2875b9f
3 files changed
+27 -39

No files matched your search

@@ -16,17 +16,11 @@
package com.hippo.ehviewer.client;
import com.hippo.ehviewer.Settings;
import com.hippo.okhttp.ChromeRequestBuilder;
public class EhRequestBuilder extends ChromeRequestBuilder {
public EhRequestBuilder(String url) {
this(url, Settings.getEhConfig());
}
public EhRequestBuilder(String url, EhConfig ehConfig) {
super(url);
tag(ehConfig);
}
}