commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Colebourne <>
Subject Re: [IO] writeStringToFile( File, String, String ), when File does not exist
Date Wed, 07 Jun 2006 21:43:44 GMT
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message