Skip to content

Commit 5a46699

Browse files
committed
[baekjoon] 2179번 - 비슷한 단어
- 리소스 누수 방지를 위해 br.close()를 추가했습니다.
1 parent ee6dfcc commit 5a46699

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

b2179/Main.java

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ public static void main(String[] args) throws IOException {
1313
List<Word> result = findSimilarWords(words);
1414

1515
printResult(result);
16+
17+
br.close();
1618
}
1719

1820
private static List<Word> readWords(BufferedReader br, int n) throws IOException {

0 commit comments

Comments
 (0)