File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/cider/nrepl/middleware Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 88 {:linter :deprecations
99 :symbol-matches #{#"^public boolean java\. lang\. reflect\. AccessibleObject\. isAccessible\(\) $" }
1010 :reason " The replacement, canAccess(Object), was added in JDK9 – but we still support JDK8." })
11+
12+ (disable-warning
13+ {:linter :deprecations
14+ :symbol-matches #{#"^public final void java\. lang\. Thread\. stop\(\) $" }})
Original file line number Diff line number Diff line change 106106
107107 (instance? java.awt.Image value)
108108 (with-open [bos (ByteArrayOutputStream. )]
109- (ImageIO/write ^Image value " png" ^OutputStream bos)
110109 (merge response
111- (slurp-reply [" image/png" {}] (.toByteArray bos))))
110+ (when (ImageIO/write ^Image value " png" ^OutputStream bos)
111+ (slurp-reply [" image/png" {}] (.toByteArray bos)))))
112112
113113 :else response))
114114
You can’t perform that action at this time.
0 commit comments