hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scherler....@juntadeandalucia.es>
Subject ERROR in http://jakarta.apache.org/commons/httpclient/tutorial.html
Date Mon, 23 Feb 2004 11:52:18 GMT
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


Mime
View raw message