minor fix
This commit is contained in:
parent
51be799910
commit
0a54210414
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue