Format code, no actual code changed.

master
Sutra Zhou 2020-06-15 20:01:14 +08:00
parent 5d14efc50f
commit 2413366adb
3 changed files with 59 additions and 58 deletions

View File

@ -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 + '\'' +
'}'; '}';
} }
} }

View File

@ -59,4 +59,5 @@ public class SimpleProxyProvider implements ProxyProvider {
} }
return p % size; return p % size;
} }
} }