fix a mistake

This commit is contained in:
amammad
2023-10-14 12:18:13 +02:00
parent 7fcf39277d
commit e34cc42441

View File

@@ -28,7 +28,7 @@ class CloseWriter {
try {
// OutputStreamWriter may throw an exception, in which case the ...
writer = new OutputStreamWriter(
// ... FileOutputStream is notne closed by the finally block
// ... FileOutputStream is not closed by the finally block
new FileOutputStream("C:\\test.txt"), "UTF-8");
writer.write("test");
}