saving transcript and maximizing its size

This commit is contained in:
zeroflag 2021-06-30 13:00:00 +02:00
parent 7e6289d096
commit 2290dc5070
2 changed files with 3 additions and 3 deletions

View file

@ -384,7 +384,7 @@ public class Fcl {
addPrimitive("abort", () -> { throw new Aborted(stack.pop().asStr().value()); });
addPrimitive("eval", () -> eval(stack.pop().asStr().value()));
addPrimitive("words", () -> {
List<String> words = new ArrayList(wordList());
List<String> words = new ArrayList<>(wordList());
Collections.sort(words);
for (String each : words) {
transcript.show(each);

View file

@ -1,7 +1,7 @@
package com.vectron.fcl.exceptions;
public class Aborted extends FclException {
public Aborted(String str) {
super(str);
public Aborted(String message) {
super(message);
}
}