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 

Attachment: update2
Description: 3561828870-update2

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to