bereng commented on a change in pull request #1381:
URL: https://github.com/apache/cassandra/pull/1381#discussion_r793296977



##########
File path: test/long/org/apache/cassandra/cql3/CorruptionTest.java
##########
@@ -145,10 +145,10 @@ private void dumpKeys(byte[] putdata, byte[] getdata) 
throws IOException {
                     String basename = "bad-data-tid" + 
Thread.currentThread().getId();
                     File put = new File(basename+"-put");
                     File get = new File(basename+"-get");
-                    try(FileWriter pw = new FileWriter(put.toJavaIOFile())) {
+                    try(FileWriter pw = 
put.newWriter(File.WriteMode.OVERWRITE)) {

Review comment:
       Formatting: While we are here can we put the brace in the next line?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to