From db3e5d4a587c255b6d84899549ca9d34039a19d8 Mon Sep 17 00:00:00 2001 From: gered Date: Sat, 29 Mar 2014 18:11:17 -0400 Subject: [PATCH] add type hint to avoid reflection --- src/clj_figlet/core.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/clj_figlet/core.clj b/src/clj_figlet/core.clj index 4563f94..79bf066 100644 --- a/src/clj_figlet/core.clj +++ b/src/clj_figlet/core.clj @@ -100,9 +100,9 @@ that set of lines will be appended to and returned. If initial-output is specified, that collection should have the same size as the flf font height." [flf ^Character c & [initial-output]] - (let [output-lines (or initial-output (get-initial-output-lines flf)) - char-lines (get-in flf [:chars c]) - hardblank (get-in flf [:header :hardblank-str])] + (let [output-lines (or initial-output (get-initial-output-lines flf)) + char-lines (get-in flf [:chars c]) + ^String hardblank (get-in flf [:header :hardblank-str])] (if char-lines (map (fn [^String char-line ^String output-line]