From 5539c863d145a08801c6fb75401a421a3778d823 Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 9 Aug 2017 16:25:23 +0100 Subject: [PATCH] Fixed all issues detected by Eastwood. --- src/scot/weft/i18n/core.clj | 2 +- test/scot/weft/i18n/test/core.clj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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])) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;