Add Javadoc see tags.
MODIFY
src/main/java/org/apache/commons/io/FileUtils.java
src/main/java/org/apache/commons/io/FileUtils.java
@@ -2372,6 +2372,7 @@ public static void moveToDirectory(final File src, final File destDir, final boo
* @param file the File.
* @return a new OutputStream.
* @throws IOException if an I/O error occurs.
+ * @see PathUtils#newOutputStream(Path, boolean)
* @since 2.12.0
*/
public static OutputStream newOutputStream(final File file, final boolean append) throws IOException {

MODIFY
src/main/java/org/apache/commons/io/file/PathUtils.java
src/main/java/org/apache/commons/io/file/PathUtils.java
@@ -843,6 +843,7 @@ public static boolean isRegularFile(final Path path, final LinkOption... options
*
* @return a new OutputStream.
* @throws IOException if an I/O error occurs.
+ * @see Files#newOutputStream(Path, OpenOption...)
* @since 2.12.0
*/
public static OutputStream newOutputStream(final Path path, final boolean append) throws IOException {

MODIFY
src/main/java/org/apache/commons/io/output/FileWriterWithEncoding.java
src/main/java/org/apache/commons/io/output/FileWriterWithEncoding.java
@@ -64,7 +64,7 @@ private static Writer initWriter(final File file, final Object encoding, final b
OutputStream stream = null;
final boolean fileExistedAlready = file.exists();
try {
- stream = FileUtils.newOutputStream(file, append);
+ stream = FileUtils.openOutputStream(file, append);
if (encoding == null || encoding instanceof Charset) {
return new OutputStreamWriter(stream, Charsets.toCharset((Charset) encoding));
}

Add Javadoc see tags.