Modifications suggestion for class
freenet.node.TextModeClientInterface
method makeBucketsByName

Change 1: Non hardcoded Separator
Because of the differences between in the way File
systems work it is important to be aware of platform
dependencies such as the directory separator
character. On Win/DOS it is a backslash \, on Unix it
is a forward slash / and on a Mac it is something
else. You can get around this dependency by using the
File.separator constant instead of hard coding in the
separator literal.

Change 2: Handle unreadable subdirs and dangling
symlinks (ignore)


NOTE: empty dirs (that is a returned HashMap which
isEmpty()==true) are not handled well now

attached file

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: update2
Type: application/octet-stream
Size: 1379 bytes
Desc: 3561828870-update2
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20060221/c35ecaea/attachment.obj>

Reply via email to