Skip to content

Commit 4771058

Browse files
littleyodafaiteanu
authored andcommitted
Anpassungen an htmlunit 3
1 parent eb17ebe commit 4771058

4 files changed

Lines changed: 19 additions & 19 deletions

File tree

src/jsq/fetch/factory/Factory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import java.util.ArrayList;
55
import java.util.List;
66

7-
import com.gargoylesoftware.htmlunit.ProxyConfig;
7+
import org.htmlunit.ProxyConfig;
88

99
import jsq.fetcher.history.BaseFetcher;
1010
import jsq.fetcher.history.GenericJSFetcher;

src/jsq/fetcher/history/GenericJSFetcher.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
import jsq.config.Config;
1616
import jsq.fetch.factory.Factory;
1717

18-
import com.gargoylesoftware.htmlunit.SilentCssErrorHandler;
19-
import com.gargoylesoftware.htmlunit.ThreadedRefreshHandler;
20-
import com.gargoylesoftware.htmlunit.WebClient;
18+
import org.htmlunit.SilentCssErrorHandler;
19+
import org.htmlunit.ThreadedRefreshHandler;
20+
import org.htmlunit.WebClient;
2121

2222
public class GenericJSFetcher extends BaseFetcher {
2323

@@ -102,7 +102,7 @@ public WebClient getWebClient(boolean useJavaScript) {
102102
webClient.setRefreshHandler(new ThreadedRefreshHandler());
103103
webClient.getOptions().setJavaScriptEnabled(useJavaScript);
104104
webClient.getOptions().setThrowExceptionOnScriptError(false);
105-
java.util.logging.Logger.getLogger("com.gargoylesoftware").setLevel(java.util.logging.Level.OFF);
105+
java.util.logging.Logger.getLogger("org").setLevel(java.util.logging.Level.OFF);
106106
return webClient;
107107
}
108108

src/jsq/fetcher/history/Yahoo.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
import org.apache.commons.csv.CSVParser;
2323
import org.apache.commons.csv.CSVRecord;
2424

25-
import com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException;
26-
import com.gargoylesoftware.htmlunit.Page;
27-
import com.gargoylesoftware.htmlunit.SilentCssErrorHandler;
28-
import com.gargoylesoftware.htmlunit.TextPage;
29-
import com.gargoylesoftware.htmlunit.ThreadedRefreshHandler;
30-
import com.gargoylesoftware.htmlunit.UnexpectedPage;
31-
import com.gargoylesoftware.htmlunit.WebClient;
32-
import com.gargoylesoftware.htmlunit.html.HtmlPage;
33-
import com.gargoylesoftware.htmlunit.html.HtmlTable;
25+
import org.htmlunit.FailingHttpStatusCodeException;
26+
import org.htmlunit.Page;
27+
import org.htmlunit.SilentCssErrorHandler;
28+
import org.htmlunit.TextPage;
29+
import org.htmlunit.ThreadedRefreshHandler;
30+
import org.htmlunit.UnexpectedPage;
31+
import org.htmlunit.WebClient;
32+
import org.htmlunit.html.HtmlPage;
33+
import org.htmlunit.html.HtmlTable;
3434

3535
public class Yahoo extends BaseFetcher {
3636

src/jsq/tools/HtmlUnitTools.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
import java.util.HashMap;
55
import java.util.List;
66

7-
import com.gargoylesoftware.htmlunit.html.DomElement;
8-
import com.gargoylesoftware.htmlunit.html.HtmlElement;
9-
import com.gargoylesoftware.htmlunit.html.HtmlPage;
10-
import com.gargoylesoftware.htmlunit.html.HtmlTable;
11-
import com.gargoylesoftware.htmlunit.html.HtmlTableRow;
7+
import org.htmlunit.html.DomElement;
8+
import org.htmlunit.html.HtmlElement;
9+
import org.htmlunit.html.HtmlPage;
10+
import org.htmlunit.html.HtmlTable;
11+
import org.htmlunit.html.HtmlTableRow;
1212

1313
public class HtmlUnitTools {
1414

0 commit comments

Comments
 (0)