diff --git a/README.adoc b/README.adoc index a0ba3fb04..6ac3fc7a0 100644 --- a/README.adoc +++ b/README.adoc @@ -62,7 +62,7 @@ id = 2 { public static void main(String[] args) { - // NOTE: Connection and Statement are AutoClosable. + // NOTE: Connection and Statement are AutoCloseable. // Don't forget to close them both in order to avoid leaks. try ( diff --git a/demo/Sample.java b/demo/Sample.java index a5c0897b1..2058dd463 100644 --- a/demo/Sample.java +++ b/demo/Sample.java @@ -8,7 +8,7 @@ public class Sample { public static void main(String[] args) { - // NOTE: Connection and Statement are AutoClosable. + // NOTE: Connection and Statement are AutoCloseable. // Don't forget to close them both in order to avoid leaks. try (