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 ju...@apache.org on 2001/02/09 17:24:47 UTC
cvs commit: jakarta-slide/src/webdav/client/src/org/apache/webdav/util WebdavResource.java
juergen 01/02/09 08:24:47
Modified: src/webdav/client/src/org/apache/webdav/util
WebdavResource.java
Log:
Removed not necessary ";" to prevent CodeGuide compile error
Revision Changes Path
1.2 +14 -14 jakarta-slide/src/webdav/client/src/org/apache/webdav/util/WebdavResource.java
Index: WebdavResource.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/util/WebdavResource.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- WebdavResource.java 2001/02/06 06:31:45 1.1
+++ WebdavResource.java 2001/02/09 16:24:46 1.2
@@ -1,13 +1,13 @@
/*
- * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/util/WebdavResource.java,v 1.1 2001/02/06 06:31:45 remm Exp $
- * $Revision: 1.1 $
- * $Date: 2001/02/06 06:31:45 $
+ * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/util/WebdavResource.java,v 1.2 2001/02/09 16:24:46 juergen Exp $
+ * $Revision: 1.2 $
+ * $Date: 2001/02/09 16:24:46 $
*
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -15,7 +15,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -23,15 +23,15 @@
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
- * any, must include the following acknowlegement:
- * "This product includes software developed by the
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
* 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
- * from this software without prior written permission. For written
+ * from this software without prior written permission. For written
* permission, please contact apache@apache.org.
*
* 5. Products derived from this software may not be called "Apache"
@@ -59,7 +59,7 @@
*
* [Additional notices, if required by prior licensing conditions]
*
- */
+ */
package org.apache.webdav.util;
@@ -80,7 +80,7 @@
/**
* Abstracts the concept of a resource on a WebDAV server.
- *
+ *
* @author Sung-Gu Park
*/
public class WebdavResource implements Comparable {
@@ -392,7 +392,7 @@
supportedLock =
DOMUtils.getTextValue(property.getElement());
} else if (property.getLocalName().equals(ISHIDDEN)) {
- isHidden =
+ isHidden =
DOMUtils.getTextValue(property.getElement());
} else if (property.getLocalName().equals(ISCOLLECTION)) {
isCollection =
@@ -536,7 +536,7 @@
* @see isCollection()
*/
public boolean getIsCollection() {
- return isCollection.equals("1") ? true : false;;
+ return isCollection.equals("1") ? true : false;
}
@@ -608,7 +608,7 @@
* @param tempDir
* @return InputStream
*/
- public InputStream getInputStream(String tempDir)
+ public InputStream getInputStream(String tempDir)
throws WebdavException {
URL url = getURL();
@@ -1091,7 +1091,7 @@
/**
* Execute the MKCOL method
- *
+ *
* @return boolean <code>true</code>, <code>false</code>
*/
public boolean mkcolMethod() throws WebdavException {
Re: cvs commit: jakarta-slide/src/webdav/client/src/org/apache/webdav/util WebdavResource.java
Posted by Remy Maucherat <re...@apache.org>.
> juergen 01/02/09 08:24:47
>
> Modified: src/webdav/client/src/org/apache/webdav/util
> WebdavResource.java
> Log:
> Removed not necessary ";" to prevent CodeGuide compile error
I think Jikes also doesn't like empty statements. However, since I'm not
using Jikes anymore (I bought a faster computer), I let that slip through.
Remy