codahale/metrics — pull request #223 by jhalterman (2012-04-11 17:11:40+00:00)
Title: CsvReporter.createStreamForMetric throws on existing metric files

The current CsvReporter.createStreamForMetric implementation throws an IOException if the metric file already exists. This commit is a quick fix.

Worth noting: FindBugs complains about not checking the return value of newFile.createNewFile(). We can either do a dummy check to make FindBugs happy or add an exclusion, which is the route I took.