Permalink
Browse files
Fix whitespace errors in r.u.servelt.
- Loading branch information...
Showing
with
8 additions
and
8 deletions.
-
+8
−8
ring-servlet/src/ring/util/servlet.clj
|
|
@@ -77,15 +77,15 @@ |
|
|
(.print writer (str chunk))
|
|
|
(.flush writer)))
|
|
|
(instance? InputStream body)
|
|
|
- (let [^InputStream b body]
|
|
|
- (with-open [out (.getOutputStream response)]
|
|
|
- (io/copy b out)
|
|
|
- (.close b)
|
|
|
- (.flush out)))
|
|
|
+ (let [^InputStream b body]
|
|
|
+ (with-open [out (.getOutputStream response)]
|
|
|
+ (io/copy b out)
|
|
|
+ (.close b)
|
|
|
+ (.flush out)))
|
|
|
(instance? File body)
|
|
|
- (let [^File f body]
|
|
|
- (with-open [stream (FileInputStream. f)]
|
|
|
- (set-body response stream)))
|
|
|
+ (let [^File f body]
|
|
|
+ (with-open [stream (FileInputStream. f)]
|
|
|
+ (set-body response stream)))
|
|
|
(nil? body)
|
|
|
nil
|
|
|
:else
|
|
|
|
0 comments on commit
4b6bb69