[Yanel-dev] directory resource on win

Andreas Wuest awuest at student.ethz.ch
Mon Feb 12 14:41:22 CET 2007


Hi

On 12.2.2007 10:47 Uhr, simon litwan wrote:

> hi all
> 
> the directory resource-type has a problem. there is one slash to much if 
> i run yanel on win.
> 
> i'm not entirely sure but i think the problem is in
> 
> DefaultMapImpl.java of yarep.
> on line 101 methode getChildren(Path path)
> 
> if (path.toString().endsWith(File.separator)) {
> 
> i think there should be a "/" instead of File.separator.

Hmm, isn't the idea of File.separator to return a platform-specific file 
separator?

-- 
Kind regards,
Andi



More information about the Yanel-development mailing list