Re: Bug in clojure.java.io

2010-09-01 Thread Stuart Halloway
Yes please. > Hi, > I noticed a bug in the clojure.java.io namespace at Line 57: > URL > > > (as-url [u] u) > > > (as-file [u] > > > (if (= "file" (.getProtocol u)) > > > (as-file (.getPath u)) > > > -- (throw (IllegalArgumentException. "Not a file: " u

Bug in clojure.java.io

2010-09-01 Thread abhinav sarkar
Hi, I noticed a bug in the clojure.java.io namespace at Line 57: URL (as-url [u] u) (as-file [u] (if (= "file" (.getProtocol u)) (as-file (.getPath u)) -- (throw (IllegalArgumentException. "Not a file: " u ++ (throw (IllegalArgumentException. (str "Not a fi