FileStoreSpaceAttributeView#readAttributes("totalSpace") does not return totalSpace
Rajendra Gutupalli
Rajendra.Gutupalli at Sun.COM
Wed Sep 3 22:42:57 PDT 2008
Hi Alan,
Spec for FileStoreSpaceAttributeView#readAttributes says
"totalSpace/usableSpace/unallocatedSpace" can be retrieved by passing
the respective string parameter, but it does not return as expected.
I just saw the code to see what happening for this input I think
comparison might be like this.
-- if (attribute.equals("total")) {
++ if (attribute.equals("totalSapce")
Could you please tell me if this is correct.
Thanks
Rajendra.
More information about the nio-dev
mailing list