8000 [RandomJava-101] update modifier for Java method · fishercoder1534/RandomJava@7bc9a32 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7bc9a32

Browse files
[RandomJava-101] update modifier for Java method
1 parent d2b859a commit 7bc9a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/IO_example/JavaFileIOExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static void main(String... args) throws IOException {
1717
System.out.println("Program finished.");
1818
}
1919

20-
private static void readFileOnDisk() throws IOException {
20+
public static void readFileOnDisk() throws IOException {
2121
String file = "src/test/resources/sample_input.txt";
2222
Scanner scanner = new Scanner(new File(file));
2323
scanner.useDelimiter(" ");

0 commit comments

Comments
 (0)
0