I've raised and fixed this as IO-107.
Stephen
Stephen Colebourne wrote:
Jamie Bisotti wrote:
As I mentioned in my original post...The JavaDoc for writeStringToFile()
says: "Writes a String to a file creating the file if it does not exist."
That seems to imply that directories would be created, if need be;
however,
that is not happening. Is this a bug? Or does the documentation just
need
to be clarified?
It does not say anything about directories having to exist; it says
the file
will be created if it does not exist.
> [snip]
> Is this a bug or
an incomplete comment, in need of clarification?
It isn't a bug, but a reasonable enhancement. (At the minimum the
javadoc should be improved).
Please raise a JIRA call. We'd also welcome a fix and test case if you
have time.
Stephen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]