Skip to content

Commit f2677b1

Browse files
committed
fixed typos
1 parent b6d81ba commit f2677b1

File tree

1 file changed

+2
-2
lines changed
  • app/pages/learn/01_tutorial/04_mastering-the-api/02_modern_io

1 file changed

+2
-2
lines changed

app/pages/learn/01_tutorial/04_mastering-the-api/02_modern_io/01_modern_io.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This article focuses on API improvements since Java 8. In particular:
3535

3636
## Reading Text Files
3737

38-
Tou can read a text file into a string like this:
38+
You can read a text file into a string like this:
3939

4040
```java
4141
String content = Files.readString(path);
@@ -172,7 +172,7 @@ This is better than passing an input stream to the `read` method, because the li
172172

173173
## The Files API
174174

175-
The `java.nio.file.Files` class provides a comprehensive set of file operations, such as creating, copying, moving, and deleting fies and directories. The [File System Basics](https://dev.java/learn/java-io/file-system/) tutorial provides a thorough description. In this section, I highlight a few common tasks.
175+
The `java.nio.file.Files` class provides a comprehensive set of file operations, such as creating, copying, moving, and deleting files and directories. The [File System Basics](https://dev.java/learn/java-io/file-system/) tutorial provides a thorough description. In this section, I highlight a few common tasks.
176176

177177
### Traversing Entries in Directories and Subdirectories
178178

0 commit comments

Comments
 (0)