o Updated to correct a spelling mistake.
git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1750548 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/maven/shared/utils/io/IOUtil.java b/src/main/java/org/apache/maven/shared/utils/io/IOUtil.java
index 4b08ad3..c0e421d 100644
--- a/src/main/java/org/apache/maven/shared/utils/io/IOUtil.java
+++ b/src/main/java/org/apache/maven/shared/utils/io/IOUtil.java
@@ -864,7 +864,7 @@
* Closes an {@code InputStream} suppressing any {@code IOException}.
* <p>
* <b>Note:</b><br/>The usecase justifying this method is a shortcoming of the Java language up to but not including
- * Java 7. For any code targetting Java 7 or later use of this method is highly discouraged and the
+ * Java 7. For any code targeting Java 7 or later use of this method is highly discouraged and the
* {@code try-with-resources} statement should be used instead. Care must be taken to not use this method in a way
* {@code IOException}s get suppressed incorrectly.
* <strong>You must close all resources in use inside the {@code try} block to not suppress exceptions in the
@@ -897,7 +897,7 @@
* // This may throw an exception. Not reached if an exception has been thrown above.
* resource1.close();
* resource1 = null;
- * // Not reached if an exception has been thrown above.
+ * // This may throw an exception. Not reached if an exception has been thrown above.
* resource2.close();
* resource2 = null;
*
@@ -968,7 +968,7 @@
* Closes an {@code OutputStream} suppressing any {@code IOException}.
* <p>
* <b>Note:</b><br/>The usecase justifying this method is a shortcoming of the Java language up to but not including
- * Java 7. For any code targetting Java 7 or later use of this method is highly discouraged and the
+ * Java 7. For any code targeting Java 7 or later use of this method is highly discouraged and the
* {@code try-with-resources} statement should be used instead. Care must be taken to not use this method in a way
* {@code IOException}s get suppressed incorrectly.
* <strong>You must close all resources in use inside the {@code try} block to not suppress exceptions in the
@@ -1001,7 +1001,7 @@
* // This may throw an exception. Not reached if an exception has been thrown above.
* resource1.close();
* resource1 = null;
- * // Not reached if an exception has been thrown above.
+ * // This may throw an exception. Not reached if an exception has been thrown above.
* resource2.close();
* resource2 = null;
*
@@ -1072,7 +1072,7 @@
* Closes a {@code Reader} suppressing any {@code IOException}.
* <p>
* <b>Note:</b><br/>The usecase justifying this method is a shortcoming of the Java language up to but not including
- * Java 7. For any code targetting Java 7 or later use of this method is highly discouraged and the
+ * Java 7. For any code targeting Java 7 or later use of this method is highly discouraged and the
* {@code try-with-resources} statement should be used instead. Care must be taken to not use this method in a way
* {@code IOException}s get suppressed incorrectly.
* <strong>You must close all resources in use inside the {@code try} block to not suppress exceptions in the
@@ -1105,7 +1105,7 @@
* // This may throw an exception. Not reached if an exception has been thrown above.
* resource1.close();
* resource1 = null;
- * // Not reached if an exception has been thrown above.
+ * // This may throw an exception. Not reached if an exception has been thrown above.
* resource2.close();
* resource2 = null;
*
@@ -1176,7 +1176,7 @@
* Closes a {@code Writer} suppressing any {@code IOException}.
* <p>
* <b>Note:</b><br/>The usecase justifying this method is a shortcoming of the Java language up to but not including
- * Java 7. For any code targetting Java 7 or later use of this method is highly discouraged and the
+ * Java 7. For any code targeting Java 7 or later use of this method is highly discouraged and the
* {@code try-with-resources} statement should be used instead. Care must be taken to not use this method in a way
* {@code IOException}s get suppressed incorrectly.
* <strong>You must close all resources in use inside the {@code try} block to not suppress exceptions in the
@@ -1209,7 +1209,7 @@
* // This may throw an exception. Not reached if an exception has been thrown above.
* resource1.close();
* resource1 = null;
- * // Not reached if an exception has been thrown above.
+ * // This may throw an exception. Not reached if an exception has been thrown above.
* resource2.close();
* resource2 = null;
*