Skip to content

Commit

Permalink
Increased source clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickolasbradham committed Dec 8, 2022
1 parent fc008ed commit d7d824a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/nbradham/uwu/Interpreter.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ final class Interpreter {
*/
private Interpreter(File file) throws FileNotFoundException {
Scanner s = new Scanner(file);
ArrayList<String> t = new ArrayList<>();
ArrayList<String> progBuild = new ArrayList<>();
String read;
int line = -1;
while (s.hasNext()) {
Expand All @@ -46,11 +46,11 @@ private Interpreter(File file) throws FileNotFoundException {
continue;
}

t.add(read);
progBuild.add(read);
line++;
}
s.close();
lines = t.toArray(new String[0]);
lines = progBuild.toArray(new String[0]);
}

/**
Expand Down

0 comments on commit d7d824a

Please sign in to comment.