Skip to content

Commit f94a3f7

Browse files
author
Stuart Sierra
committed
c.t.n.find: add missing JarFile constructor
1 parent 8940605 commit f94a3f7

File tree

1 file changed

+1
-1
lines changed
  • src/main/clojure/clojure/tools/namespace

1 file changed

+1
-1
lines changed

src/main/clojure/clojure/tools/namespace/find.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
(mapcat #(find-ns-decls-in-dir % platform)
175175
(filter #(.isDirectory ^File %) files))
176176
(mapcat #(find-ns-decls-in-jarfile % platform)
177-
(filter classpath/jar-file? files)))))
177+
(map #(JarFile. %) (filter classpath/jar-file? files))))))
178178

179179
(defn find-namespaces
180180
"Searches a sequence of java.io.File objects (both directories and

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy