mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8340229: Improve opening sentence of FileInputStream constructor specification
Reviewed-by: alanb, jpai
This commit is contained in:
parent
12028000db
commit
f1ea57f06a
1 changed files with 5 additions and 8 deletions
|
@ -82,10 +82,9 @@ public class FileInputStream extends InputStream
|
|||
private volatile boolean closed;
|
||||
|
||||
/**
|
||||
* Creates a {@code FileInputStream} by
|
||||
* opening a connection to an actual file,
|
||||
* the file named by the path name {@code name}
|
||||
* in the file system. {@linkplain java.nio.file##links Symbolic links}
|
||||
* Creates a {@code FileInputStream} to read from an existing file
|
||||
* named by the path name {@code name}.
|
||||
* {@linkplain java.nio.file##links Symbolic links}
|
||||
* are automatically redirected to the <i>target</i> of the link.
|
||||
* A new {@code FileDescriptor}
|
||||
* object is created to represent this file
|
||||
|
@ -115,10 +114,8 @@ public class FileInputStream extends InputStream
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a {@code FileInputStream} by
|
||||
* opening a connection to an actual file,
|
||||
* the file named by the {@code File}
|
||||
* object {@code file} in the file system.
|
||||
* Creates a {@code FileInputStream} to read from an existing file
|
||||
* represented by the {@code File} object {@code file}.
|
||||
* {@linkplain java.nio.file##links Symbolic links}
|
||||
* are automatically redirected to the <i>target</i> of the link.
|
||||
* A new {@code FileDescriptor} object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue