This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push: new 8f757d9ac Javadoc fixes 8f757d9ac is described below commit 8f757d9ac86532cca0941c084d82186ee7b27fae Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Oct 11 19:13:09 2024 -0400 Javadoc fixes --- .../java/org/apache/commons/io/RandomAccessFileMode.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/apache/commons/io/RandomAccessFileMode.java b/src/main/java/org/apache/commons/io/RandomAccessFileMode.java index f949e2cff..458a203e4 100644 --- a/src/main/java/org/apache/commons/io/RandomAccessFileMode.java +++ b/src/main/java/org/apache/commons/io/RandomAccessFileMode.java @@ -147,21 +147,21 @@ public enum RandomAccessFileMode { } /** - * Constructs a random access file stream to read from, and optionally to write to, the file specified by the {@link File} argument. + * Constructs a random access file to read from, and optionally to write to, the file specified by the {@link File} argument. * * @param file the file object - * @return a random access file stream + * @return a random access file * @throws FileNotFoundException See {@link RandomAccessFile#RandomAccessFile(File, String)}. */ public RandomAccessFile create(final File file) throws FileNotFoundException { - return new RandomAccessFile(file, mode); + return new RandomAccessFileAccessor(file, mode); } /** - * Constructs a random access file stream to read from, and optionally to write to, the file specified by the {@link File} argument. + * Constructs a random access file to read from, and optionally to write to, the file specified by the {@link File} argument. * * @param file the file object - * @return a random access file stream + * @return a random access file * @throws FileNotFoundException See {@link RandomAccessFile#RandomAccessFile(File, String)}. */ public RandomAccessFile create(final Path file) throws FileNotFoundException { @@ -169,14 +169,14 @@ public enum RandomAccessFileMode { } /** - * Constructs a random access file stream to read from, and optionally to write to, the file specified by the {@link File} argument. + * Constructs a random access file to read from, and optionally to write to, the file specified by the {@link File} argument. * * @param file the file object - * @return a random access file stream + * @return a random access file * @throws FileNotFoundException See {@link RandomAccessFile#RandomAccessFile(File, String)}. */ public RandomAccessFile create(final String file) throws FileNotFoundException { - return new RandomAccessFile(file, mode); + return new RandomAccessFileAccessor(file, mode); } /**