Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d988cef

Browse files
jafingerhutstuarthalloway
authored andcommitted
CLJ-1827: Eliminate reflection warning in pretty_writer.clj
Signed-off-by: Stuart Halloway <[email protected]>
1 parent f76b343 commit d988cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clj/clojure/pprint/pretty_writer.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@
416416
Long
417417
(p-write-char this x)))
418418
([x off len]
419-
(.write this (subs (str x) off (+ off len)))))
419+
(.write ^Writer this (subs (str x) off (+ off len)))))
420420

421421
(ppflush []
422422
(if (= (getf :mode) :buffering)

0 commit comments

Comments
 (0)