INTEGRATION: CWS morejava (1.1.1.1.162); FILE MERGED

2005/08/26 14:01:37 fridrich_strba 1.1.1.1.162.1: Issue number:
Submitted by:  kendy
Reviewed by:   fridrich_strba
Allow building with java 5 (HttpClient.proxyPort is deprecated in 1.4.x and removed in 1.5.0)
This commit is contained in:
Jens-Heiner Rechtien 2005-10-25 10:20:27 +00:00
parent e514d5b8bb
commit d4dd5b0306

View file

@ -4,9 +4,9 @@
*
* $RCSfile: AppletProps.java,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-07 20:14:52 $
* last change: $Author: hr $ $Date: 2005-10-25 11:20:27 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -112,7 +112,7 @@ public class AppletProps extends Frame {
if (System.getProperty("http.proxyHost") != null) {
proxyHost.setText(System.getProperty("http.proxyHost"));
proxyPort.setText(System.getProperty("http.proxyPort"));
HttpClient.proxyPort = Integer.valueOf(System.getProperty("http.proxyPort")).intValue();
// HttpClient.proxyPort = Integer.valueOf(System.getProperty("http.proxyPort")).intValue();
}
else {
proxyHost.setText("");