Jeez, it must be the heat or something :-/ I remember that my eclipse
was bugging about an unused variable and I thought I only removed the
dummy variable assignment. Thanks again.
--
Unico
Oliver Zeigermann wrote:
Unico, I guess you removed the below in error. This caused errors in
the client. I reverted this.
Oliver
[EMAIL PROTECTED] wrote:
ozeigermann 2004/08/09 06:13:04
Modified:
webdavclient/clientlib/src/java/org/apache/webdav/lib/util
DOMUtils.java
Log:
Reverted change by Unico as it seems to be done in error
Revision Changes Path
1.2 +6 -5
jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/util/DOMUtils.java
Index: DOMUtils.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/util/DOMUtils.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DOMUtils.java 2 Aug 2004 15:45:49 -0000 1.1
+++ DOMUtils.java 9 Aug 2004 13:13:03 -0000 1.2
@@ -120,11 +120,12 @@
* <P> In this case, calling this method on the
* text string returns 200.
*/
- public static int parseStatus(String statusString) {
+ public static int parseStatus(String statusString) {
int status = -1;
if (statusString != null) {
StringTokenizer tokenizer = new
StringTokenizer(statusString);
if (tokenizer.countTokens() >= 2) {
+ tokenizer.nextElement();
String statusCode =
tokenizer.nextElement().toString();
try {
status = Integer.parseInt(statusCode);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]