diff options
Diffstat (limited to 'src/clojure')
-rw-r--r-- | src/clojure/contrib/duck_streams.clj | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clojure/contrib/duck_streams.clj b/src/clojure/contrib/duck_streams.clj index a0676224..b9bcfda8 100644 --- a/src/clojure/contrib/duck_streams.clj +++ b/src/clojure/contrib/duck_streams.clj @@ -55,9 +55,9 @@ (def *default-encoding* "UTF-8") (defn #^File file-str - "Concatenates args as strings returns a java.io.File. Replaces all - / and \\ with File/separatorChar. Replaces ~ at the start of the - path with the user.home system property." + "Concatenates args as strings and returns a java.io.File. Replaces + all / and \\ with File/separatorChar. Replaces ~ at the start of + the path with the user.home system property." [& args] (let [#^String s (apply str args) s (.replaceAll (re-matcher #"[/\\]" s) File/separator) |