Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 93937 invoked from network); 19 Mar 2009 22:10:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Mar 2009 22:10:36 -0000 Received: (qmail 73321 invoked by uid 500); 19 Mar 2009 22:10:34 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 73266 invoked by uid 500); 19 Mar 2009 22:10:34 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 73255 invoked by uid 99); 19 Mar 2009 22:10:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2009 15:10:34 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jak-commons-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2009 22:10:26 +0000 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LkQR8-0006wU-W7 for dev@commons.apache.org; Thu, 19 Mar 2009 22:10:03 +0000 Received: from hsi-kbw-078-042-174-106.hsi3.kabel-badenwuerttemberg.de ([78.42.174.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Mar 2009 22:10:02 +0000 Received: from joerg.schaible by hsi-kbw-078-042-174-106.hsi3.kabel-badenwuerttemberg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Mar 2009 22:10:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: dev@commons.apache.org To: dev@commons.apache.org From: =?ISO-8859-1?Q?J=F6rg?= Schaible Subject: [configuration] Review please: svn commit: r755352 - in /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider: http/HttpFileObject.java webdav/WebdavFileObject.java Date: Thu, 19 Mar 2009 23:06:43 +0100 Lines: 105 Message-ID: References: <200903172038.05840.joerg.schaible@gmx.de> Reply-To: joerg.schaible@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: hsi-kbw-078-042-174-106.hsi3.kabel-badenwuerttemberg.de Mail-Copies-To: never User-Agent: KNode/0.10.9 Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Ralph, ping? J�rg Schaible wrote: > Guys, > > I am not sure about my change here. It was simply not compilable in > Eclipse, but that might also have been due to stricter compiler settings. > Actually both HttpFileObject and WebdavFileObject contain a setupMethod > method. In both classes it was declared package private, therefore it was > not overridden. However, this might have been the desired effect. Probably > the Webdav methods must be setup differently alone, while the standard > methods inherited from the Http should not use this setup. In this case > I'll revert this change. Ralph? > > - J�rg > > --------------- Weitergeleitete Nachricht (Anfang) > > Betreff: svn commit: r755352 - > in > /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider: > http/HttpFileObject.java webdav/WebdavFileObject.java Absender: > joehni@apache.org Datum: Tue, 17 Mar 2009 > 20:01:19 +0100 Newsgruppe: gmane.comp.jakarta.commons.scm > > Author: joehni > Date: Tue Mar 17 19:01:18 2009 > New Revision: 755352 > > URL: http://svn.apache.org/viewvc?rev=755352&view=rev > Log: > setupMethod must be protected to be overridden. > > Modified: > > commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java > > commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java > > Modified: > commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java > URL: > http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java?rev=755352&r1=755351&r2=755352&view=diff > ============================================================================== > --- > commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java > (original) > +++ > commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java > Tue Mar 17 19:01:18 2009 > @@ -168,7 +168,7 @@ > /** > * Prepares a Method object. > */ > - void setupMethod(final HttpMethod method) throws FileSystemException, > URIException > + protected void setupMethod(final HttpMethod method) throws > FileSystemException, URIException > { > String pathEncoded = ((URLFileName) > getName()).getPathQueryEncoded(urlCharset); > method.setPath(pathEncoded); > > Modified: > commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java > URL: > http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java?rev=755352&r1=755351&r2=755352&view=diff > ============================================================================== > --- > commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java > (original) > +++ > commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java > Tue Mar 17 19:01:18 2009 > @@ -319,7 +319,7 @@ > * @throws FileSystemException if an error occurs encoding the uri. > * @throws URIException if the URI is in error. > */ > - void setupMethod(final HttpMethod method) throws FileSystemException, > URIException > + protected void setupMethod(final HttpMethod method) throws > FileSystemException, URIException > { > String pathEncoded = ((URLFileName) > getName()).getPathQueryEncoded(urlCharset); > method.setPath(pathEncoded); > > > > > --------------- Weitergeleitete Nachricht (Ende) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org