From fc58f4d120a3bd529605ac7a637eae1422c27812 Mon Sep 17 00:00:00 2001 From: Mathieu Gemard Date: Sun, 18 Jun 2017 14:26:36 +0200 Subject: [java/en] typo (#2763) --- java.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java.html.markdown') diff --git a/java.html.markdown b/java.html.markdown index 174177c1..e8c15234 100644 --- a/java.html.markdown +++ b/java.html.markdown @@ -454,7 +454,7 @@ public class LearnJava { // simplifies try-catch-finally statements by closing resources // automatically. - // In order to use a try-with-resources, include a an instance of a class + // In order to use a try-with-resources, include an instance of a class // in the try statement. The class must implement java.lang.AutoCloseable. try(BufferedReader br = new BufferedReader(new FileReader("foo.txt"))) { // You can attempt to do something that could throw an exception. -- cgit v1.2.3