Skip to content

Commit

Permalink
Fixed input stream reading.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaeckroth committed Dec 10, 2014
1 parent 7124a63 commit dc893ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject cc.artifice/propertea "1.4.0"
(defproject cc.artifice/propertea "1.4.1"
:description "load, coerce, and validate property files"
:dependencies [[org.clojure/clojure "1.5.1"]
[expectations "2.0.13"]]
Expand Down
4 changes: 2 additions & 2 deletions src/propertea/core.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(ns propertea.core
(:require clojure.walk clojure.set clojure.string)
(:import [java.io FileReader InputStream]
(:import [java.io FileReader BufferedInputStream]
[java.util Properties]))

(defn keywordize-keys-unless [m b]
Expand Down Expand Up @@ -111,7 +111,7 @@
(validate required)
(dump dump-fn)))

(defmethod read-properties InputStream [stream & x]
(defmethod read-properties BufferedInputStream [stream & x]
(let [props (input-stream->properties stream)]
(apply read-properties props x)))

Expand Down

0 comments on commit dc893ae

Please sign in to comment.