Currently, to String put a path in bracket and spaces. Make it return a real path, without extra chars. Or add new method (getPathString) that returns 'clean' path.
It is just cosmeti:). Sometimes, users might need path. So currently, path.toString() returns:
[ foo,bar.path ]
and user would need just
foo.bar.path
(without spaces and brackets)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What is the problem exactly? Is there a real problem here or is this just a preference?
It is just cosmeti:). Sometimes, users might need path. So currently, path.toString() returns:
[ foo,bar.path ]
and user would need just
foo.bar.path
(without spaces and brackets)