Description
The following block appears identically in two places:
var success: Boolean = false try { success = fs.delete(filesystemPath, true) } catch { case e: IOException => throw new IOException( s"Unable to clear output directory ${filesystemPath.toString} prior" + s" to writing to JSON table:\n${e.toString}") } if (!success) { throw new IOException( s"Unable to clear output directory ${filesystemPath.toString} prior" + s" to writing to JSON table.") } }