diff --git a/src/scot/weft/i18n/core.clj b/src/scot/weft/i18n/core.clj index 99fcc9b..31e6c09 100644 --- a/src/scot/weft/i18n/core.clj +++ b/src/scot/weft/i18n/core.clj @@ -136,7 +136,7 @@ Returns a map of message keys to strings." {:doc/format :markdown} - [accept-language-header resource-path default-locale] + [^String accept-language-header ^String resource-path ^String default-locale] (let [file-path (first (remove nil? diff --git a/test/scot/weft/i18n/test/core.clj b/test/scot/weft/i18n/test/core.clj index 41f74f2..f1acff6 100644 --- a/test/scot/weft/i18n/test/core.clj +++ b/test/scot/weft/i18n/test/core.clj @@ -1,7 +1,7 @@ (ns ^{:doc "Tests for Internationalisation." :author "Simon Brooke"} scot.weft.i18n.test.core - (:use clojure.test - scot.weft.i18n.core)) + (:require [clojure.test :refer :all] + [scot.weft.i18n.core :refer :all])) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;