8000 Java I/O - Paths, files, buffers, scanning and formatting · jaikumarAJ/Java-Coding-Problems@0ad1f82 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0ad1f82

Browse files
Java I/O - Paths, files, buffers, scanning and formatting
1 parent 6bf74a8 commit 0ad1f82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Chapter06/P140_SearchInBigFiles/src/modern/challenge/TextFiles.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
public final class TextFiles {
1717

18-
private static final int MAP_SIZE = 5242880; // 5 MB in bytes
18+
private static final long MAP_SIZE = 5242880; // 5 MB in bytes
1919

2020
private TextFiles() {
2121
throw new AssertionError("Cannot be instantiated");

0 commit comments

Comments
 (0)
0