Skip to content

Commit

Permalink
fix Notes::{read,ls,...} permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
fwc committed Sep 15, 2024
1 parent 22939fe commit 886f83c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions service/Notes.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ class Notes {
private static char[] errorRead = {'e', 'r', 'r', 'o', 'r', ':', ' ', 'r', 'e', 'a', 'd'};
private static char[] errorArg = {'e', 'r', 'r', 'o', 'r', ':', ' ', 'a', 'r', 'g'};

native static char[][] getArgs();
native static char[] getToken();
native static char[][] ls(char[] dir);
native static void print(char[] arg);
native static void error(char[] arg);
native static char[] read(char[] file);
private native static char[][] getArgs();
private native static char[] getToken();
private native static char[][] ls(char[] dir);
private native static void print(char[] arg);
private native static void error(char[] arg);
private native static char[] read(char[] file);

private static void register() {
char[] t = getToken();
Expand Down

0 comments on commit 886f83c

Please sign in to comment.