minor fix

This commit is contained in:
Anurag 2019-03-22 17:48:47 +05:30
parent 51be799910
commit 0a54210414
1 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,7 @@ public class FileChannelUnitTest {
} }
assertEquals(expected_value, out.toString()); assertEquals(expected_value, out.toString());
out.close();
channel.close(); channel.close();
fin.close(); fin.close();
} }
@ -141,6 +142,7 @@ public class FileChannelUnitTest {
channel.position(4); channel.position(4);
assertEquals(4, channel.position()); assertEquals(4, channel.position());
out.close();
channel.close(); channel.close();
reader.close(); reader.close();
} }