Permalink
Browse files

Eliminate a reflection warning

  • Loading branch information...
1 parent 440ead9 commit dcfc22b4d5826183b917987088dd98423d8c44a0 Michael Klishin committed Feb 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/langohr/test/publishing_test.clj
@@ -14,7 +14,7 @@
(defn resource-as-bytes
[^String path]
- (.getBytes (slurp (io/resource path)) "UTF-8"))
+ (.getBytes ^String (slurp (io/resource path)) "UTF-8"))
(deftest test-publishing-large-payload1
(with-open [ch (lhc/create-channel conn)]

0 comments on commit dcfc22b

Please sign in to comment.