hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalnichevski, Oleg" <oleg.kalnichev...@bearingpoint.com>
Subject RE: ERROR in http://jakarta.apache.org/commons/httpclient/tutorial.html
Date Mon, 23 Feb 2004 12:38:32 GMT

My fault. Blindly copying stuff rarely helps. I'll correct the tutorial tonight.

Oleg

-----Original Message-----
From: Thorsten Scherler
[mailto:thorsten.scherler.ext@juntadeandalucia.es]
Sent: Monday, February 23, 2004 12:52
To: commons-httpclient-dev@jakarta.apache.org
Subject: ERROR in
http://jakarta.apache.org/commons/httpclient/tutorial.html


Hello group,
I tried the code of the tutorial page (Final Source Code) but there is a
small mistake:

 // We will retry up to 3 times.
            while (statusCode == -1 && attempt < 3; attempt++) {...

}

Should be something like this:
while (statusCode == -1 && attempt < 3) {
            attempt += 1;
...
}

...or should I post a bug?

--
Thorsten Scherler

Tfno: 955 062 627
Email: thorsten.scherler.ext@juntadeandalucia.es



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


***************************************************************************************************
The information in this email is confidential and may be legally privileged.  Access to this
email by anyone other than the intended addressee is unauthorized.  If you are not the intended
recipient of this message, any review, disclosure, copying, distribution, retention, or any
action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. 
If you are not the intended recipient, please reply to or forward a copy of this message to
the sender and delete the message, any attachments, and any copies thereof from your system.
***************************************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message