Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ For small files, this code wouldn't be a problem. Now let's assume that `file.tx

## `Future` to the rescue

`Future` is an abstraction to deal with asynchronicity without blocking threads. The primary usage for `Future`s on the JVM is to perform IO operations. Bringing this idea to the previous example, the code would be something like:
A `Future` is an abstraction to deal with asynchronicity without blocking threads. The primary usage for `Future`s on the JVM is to perform IO operations. Bringing this idea to the previous example, the code would be something like:

```
Future<List<String>> lines = Files.readAllLines(Paths.get(file.toURI()));
Expand Down
4 changes: 2 additions & 2 deletions ndbc-mysql-embedded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<dependency>
<groupId>com.wix</groupId>
<artifactId>wix-embedded-mysql</artifactId>
<version>4.4.0</version>
<version>4.6.1</version>
</dependency>
</dependencies>

Expand All @@ -54,4 +54,4 @@
</plugin>
</plugins>
</build>
</project>
</project>