You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by oz...@apache.org on 2004/08/09 15:13:04 UTC
cvs commit: jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/util DOMUtils.java
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: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org
Re: cvs commit: jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/util
DOMUtils.java
Posted by Unico Hommes <un...@hippo.nl>.
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
>
> ozeigermann@apache.org 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: slide-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org
Re: cvs commit: jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/util
DOMUtils.java
Posted by Oliver Zeigermann <ol...@zeigermann.de>.
Unico, I guess you removed the below in error. This caused errors in the
client. I reverted this.
Oliver
ozeigermann@apache.org 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: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org