olegk 2004/12/20 03:39:04 Modified: httpclient/src/java/org/apache/commons/httpclient ProxyClient.java Log: Removed references to deprecated methods Revision Changes Path 1.5 +6 -6 jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/ProxyClient.java Index: ProxyClient.java =================================================================== RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/ProxyClient.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ProxyClient.java 4 May 2004 21:24:51 -0000 1.4 +++ ProxyClient.java 20 Dec 2004 11:39:04 -0000 1.5 @@ -179,10 +179,10 @@ */ public ConnectResponse connect() throws IOException, HttpException { - if (!getHostConfiguration().isProxySet()) { + if (getHostConfiguration().getProxyHost() == null) { throw new IllegalStateException("proxy host must be configured"); } - if (!getHostConfiguration().isHostSet()) { + if (getHostConfiguration().getHost() == null) { throw new IllegalStateException("destination host must be configured"); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]