summaryrefslogtreecommitdiffhomepage
path: root/java.html.markdown
diff options
context:
space:
mode:
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.