diff --git a/src/main/java/com/vectron/fcl/Fcl.java b/src/main/java/com/vectron/fcl/Fcl.java index 09dbc4e..342c01f 100644 --- a/src/main/java/com/vectron/fcl/Fcl.java +++ b/src/main/java/com/vectron/fcl/Fcl.java @@ -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 words = new ArrayList(wordList()); + List words = new ArrayList<>(wordList()); Collections.sort(words); for (String each : words) { transcript.show(each); diff --git a/src/main/java/com/vectron/fcl/exceptions/Aborted.java b/src/main/java/com/vectron/fcl/exceptions/Aborted.java index e0d9be8..29bd21c 100644 --- a/src/main/java/com/vectron/fcl/exceptions/Aborted.java +++ b/src/main/java/com/vectron/fcl/exceptions/Aborted.java @@ -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); } }