Permalink
Browse files

Fix whitespace errors in r.u.servelt.

  • Loading branch information...
1 parent b97bd12 commit 4b6bb695e4b93ecbc75db7cd48542e7ca69e18c0 @mmcgrana committed Nov 1, 2010
Showing with 8 additions and 8 deletions.
  1. +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

Please sign in to comment.