diff options
author | Vitaly Takmazov | 2020-10-19 09:08:48 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-10-19 09:18:55 +0300 |
commit | f65f8a63587e0f42e1d8843b30ff15c8f74e3f86 (patch) | |
tree | 8a616237073bde3e60e706169afd1c0d77a2d95b /src/test/java/com/juick/server/tests/ServerTests.java | |
parent | 06914c210bbf1130299c380eff1e300b5ea0b8f9 (diff) |
Fix some JDT warnings
Diffstat (limited to 'src/test/java/com/juick/server/tests/ServerTests.java')
-rw-r--r-- | src/test/java/com/juick/server/tests/ServerTests.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/java/com/juick/server/tests/ServerTests.java b/src/test/java/com/juick/server/tests/ServerTests.java index ee726dbf..03f52623 100644 --- a/src/test/java/com/juick/server/tests/ServerTests.java +++ b/src/test/java/com/juick/server/tests/ServerTests.java @@ -756,6 +756,7 @@ public class ServerTests { Scanner headerScanner = new Scanner(header).useDelimiter(EmailManager.MSGID_PATTERN); int mid = Integer.parseInt(headerScanner.next()); int rid = Integer.parseInt(headerScanner.next()); + headerScanner.close(); assertThat(mid, equalTo(123456)); assertThat(rid, equalTo(56)); } |