Skip to content

Commit 245d0da

Browse files
committed
rm metadata forwarding
1 parent 46d5aac commit 245d0da

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/java_time/impl/load.cljc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,8 @@
3535
(def ^Runnable async-load-fast-path
3636
(bound-fn []
3737
(load-java-time)
38-
(run! (fn [sym]
39-
(let [api (resolve (symbol "java-time" (name sym)))
40-
impl (resolve sym)]
41-
(alter-var-root api (constantly @impl))
42-
(alter-meta! api vary-meta (fnil into {}) (select-keys (meta impl) [:doc :arglists :deprecated]))))
38+
(run! #(alter-var-root (resolve (symbol "java-time" (name %)))
39+
(constantly @(resolve %)))
4340
@slow-path-vars)))
4441

4542
(defmacro when-class [clstr & body]

0 commit comments

Comments
 (0)