diff options
author | Stuart Halloway <stu@thinkrelevance.com> | 2010-05-05 05:46:21 -0400 |
---|---|---|
committer | Stuart Halloway <stu@thinkrelevance.com> | 2010-05-07 07:47:59 -0400 |
commit | 87edb1aa4e6c29d7fe386ed66ca80388ed13a488 (patch) | |
tree | 4817e316e133c7e97c878d49a31c779704890839 | |
parent | f769f5650edc782245089ac021d39d0acbcd490d (diff) |
deprecations
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
-rw-r--r-- | src/clj/clojure/core.clj | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/clj/clojure/core.clj b/src/clj/clojure/core.clj index 64f4097a..cb17f492 100644 --- a/src/clj/clojure/core.clj +++ b/src/clj/clojure/core.clj @@ -1681,7 +1681,8 @@ "DEPRECATED: Use 'agent-error' instead. Returns a sequence of the exceptions thrown during asynchronous actions of the agent." - {:added "1.0"} + {:added "1.0" + :deprecated "1.2"} [a] (when-let [e (agent-error a)] (list e))) @@ -1690,7 +1691,8 @@ "DEPRECATED: Use 'restart-agent' instead. Clears any exceptions thrown during asynchronous actions of the agent, allowing subsequent actions to occur." - {:added "1.0"} + {:added "1.0" + :deprecated "1.2"} [^clojure.lang.Agent a] (restart-agent a (.deref a))) (defn shutdown-agents @@ -3981,7 +3983,8 @@ Adds the url (String or URL object) to the classpath per URLClassLoader.addURL" - {:added "1.0"} + {:added "1.0" + :deprecated "1.1"} [url] (println "WARNING: add-classpath is deprecated") (clojure.lang.RT/addURL url)) |