[Yanel-dev] Re: Fwd: New Patch for Yarep: Bugfix

Michael Wechner michael.wechner at wyona.com
Tue Oct 26 16:07:33 CEST 2010


Hi Balz

This is now fixed:

Sending        =

src/impl/java/org/wyona/yarep/impl/repo/vfs/VirtualFileSystemRepository.java
Transmitting file data .
Committed revision 54138.

whereas I have added a comment to make sure people understand in the future.

Cheers

Michael

On 10/26/10 4:00 PM, Balz Schreier wrote:
>
>
> ---------- Forwarded message ----------
> From: *Balz Schreier* <balz.schreier at gmail.com =

> <mailto:balz.schreier at gmail.com>>
> Date: Sun, Oct 24, 2010 at 6:03 PM
> Subject: New Patch for Yarep: Bugfix
> To: Yanel Development Mailing List <yanel-development at wyona.com =

> <mailto:yanel-development at wyona.com>>
>
>
> Hi,
>
> I have fixed a bug in Yarep in the existsNode() method.
> Some weeks ago, splited file paths were introduced. It was implemented =

> to be backwards compatible (see getNode() method), but backwards =

> compatibility was not considered in the exists-method.
>
> Please let me know by when this gets submitted to yarep svn.
>
> Cheers
> - B
>
> Index: =

> src/impl/java/org/wyona/yarep/impl/repo/vfs/VirtualFileSystemRepository.j=
ava
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- =

> src/impl/java/org/wyona/yarep/impl/repo/vfs/VirtualFileSystemRepository.j=
ava(revision =

> 54092)
> +++ =

> src/impl/java/org/wyona/yarep/impl/repo/vfs/VirtualFileSystemRepository.j=
ava(working =

> copy)
> @@ -396,7 +396,7 @@
>              path =3D path.substring(0, path.length() - 1);
>          }
>          if (splitPathEnabled) {
> -            return map.exists(new Path(splitPath(path)));
> +            return map.exists(new Path(splitPath(path))) || =

> map.exists(new Path(path));
>          } else {
>              return map.exists(new Path(path));
>          }
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wyona.org/pipermail/yanel-development/attachments/2010102=
6/5cd3b726/attachment.htm


More information about the Yanel-development mailing list