File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
src/java.base/share/classes/java/io Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -82,10 +82,9 @@ public class FileInputStream extends InputStream
8282 private volatile boolean closed ;
8383
8484 /**
85- * Creates a {@code FileInputStream} by
86- * opening a connection to an actual file,
87- * the file named by the path name {@code name}
88- * in the file system. {@linkplain java.nio.file##links Symbolic links}
85+ * Creates a {@code FileInputStream} to read from an existing file
86+ * named by the path name {@code name}.
87+ * {@linkplain java.nio.file##links Symbolic links}
8988 * are automatically redirected to the <i>target</i> of the link.
9089 * A new {@code FileDescriptor}
9190 * object is created to represent this file
@@ -115,10 +114,8 @@ public FileInputStream(String name) throws FileNotFoundException {
115114 }
116115
117116 /**
118- * Creates a {@code FileInputStream} by
119- * opening a connection to an actual file,
120- * the file named by the {@code File}
121- * object {@code file} in the file system.
117+ * Creates a {@code FileInputStream} to read from an existing file
118+ * represented by the {@code File} object {@code file}.
122119 * {@linkplain java.nio.file##links Symbolic links}
123120 * are automatically redirected to the <i>target</i> of the link.
124121 * A new {@code FileDescriptor} object
You can’t perform that action at this time.
0 commit comments