Skip to content

Commit 3e33959

Browse files
committed
#319 fix javadoc
1 parent 3a6e246 commit 3e33959

File tree

1 file changed

+7
-1
lines changed
  • webmagic-core/src/main/java/us/codecraft/webmagic

1 file changed

+7
-1
lines changed

webmagic-core/src/main/java/us/codecraft/webmagic/Site.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,14 +471,20 @@ public String toString() {
471471
/**
472472
* Set httpProxyPool, String[0]:ip, String[1]:port <br>
473473
*
474-
* @param httpProxyList httpProxyList
474+
* @param proxyPool proxyPool
475475
* @return this
476476
*/
477477
public Site setHttpProxyPool(ProxyPool proxyPool) {
478478
this.httpProxyPool = proxyPool;
479479
return this;
480480
}
481481

482+
/**
483+
* Set httpProxyPool, String[0]:ip, String[1]:port <br>
484+
*
485+
* @param httpProxyList httpProxyList
486+
* @return this
487+
*/
482488
public Site setHttpProxyPool(List<String[]> httpProxyList, boolean isUseLastProxy) {
483489
this.httpProxyPool=new SimpleProxyPool(httpProxyList, isUseLastProxy);
484490
return this;

0 commit comments

Comments
 (0)