From 7568e37f73a3d8055419c94a3ea3a68c1e050a9a Mon Sep 17 00:00:00 2001 From: The-Lum <86879521+The-Lum@users.noreply.github.com> Date: Sat, 6 Nov 2021 19:31:11 +0100 Subject: [PATCH] Fix error message Fix: - https://forum.plantuml.net/14905/typo-in-error-message And comment on: - https://forum.plantuml.net/12557/problems-with-built-in-functions-%25upper-and-%25lower-eclipse --- .../plantuml/tim/expression/ReversePolishInterpretor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/sourceforge/plantuml/tim/expression/ReversePolishInterpretor.java b/src/net/sourceforge/plantuml/tim/expression/ReversePolishInterpretor.java index 6b22481a5..c29ad70ce 100644 --- a/src/net/sourceforge/plantuml/tim/expression/ReversePolishInterpretor.java +++ b/src/net/sourceforge/plantuml/tim/expression/ReversePolishInterpretor.java @@ -95,7 +95,7 @@ public class ReversePolishInterpretor { if (trace) System.err.println("function=" + function); if (function == null) { - throw EaterException.unlocated("Unknow built-in function " + token2.getSurface()); + throw EaterException.unlocated("Unknown built-in function " + token2.getSurface()); } if (function.canCover(nb, Collections.emptySet()) == false) { throw EaterException