summaryrefslogtreecommitdiffhomepage
path: root/java.html.markdown
diff options
context:
space:
mode:
authorMathieu Gemard <mathieu.gemard@gmail.com>2017-06-18 14:26:36 +0200
committerven <vendethiel@hotmail.fr>2017-06-18 14:26:36 +0200
commitfc58f4d120a3bd529605ac7a637eae1422c27812 (patch)
tree0fff161255cbd2ba970b3afbe63418bc50a5bc40 /java.html.markdown
parent34b6b504fa30f8c344ac111ea7474e336136f5c4 (diff)
[java/en] typo (#2763)
Diffstat (limited to 'java.html.markdown')
-rw-r--r--java.html.markdown2
1 files changed, 1 insertions, 1 deletions
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.