Format code, no actual code changed.
parent
5d14efc50f
commit
2413366adb
|
@ -1,14 +1,13 @@
|
||||||
package us.codecraft.webmagic.proxy;
|
package us.codecraft.webmagic.proxy;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
public class Proxy {
|
public class Proxy {
|
||||||
|
|
||||||
private String host;
|
private String host;
|
||||||
|
|
||||||
private int port;
|
private int port;
|
||||||
|
|
||||||
private String username;
|
private String username;
|
||||||
|
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
public Proxy(String host, int port) {
|
public Proxy(String host, int port) {
|
||||||
|
@ -70,4 +69,5 @@ public class Proxy {
|
||||||
", password='" + password + '\'' +
|
", password='" + password + '\'' +
|
||||||
'}';
|
'}';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,4 +59,5 @@ public class SimpleProxyProvider implements ProxyProvider {
|
||||||
}
|
}
|
||||||
return p % size;
|
return p % size;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue