aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bedra and Stuart Halloway <pair@clojure.com>2010-07-23 11:06:50 -0400
committerAaron Bedra and Stuart Halloway <pair@clojure.com>2010-07-23 11:34:42 -0400
commit5337f2c45f99acf1d7e9f5901ebb141ca4f271a0 (patch)
tree6aa5c8ec6879315dadca8fb51ed0b8fd7ba4a72b
parentf827ea5ffa131f94f5495d5769b83cb967cb704b (diff)
deprecating javadoc (moved to clojure)
-rw-r--r--src/main/clojure/clojure/contrib/javadoc.clj5
-rw-r--r--src/main/clojure/clojure/contrib/javadoc/browse.clj3
-rw-r--r--src/main/clojure/clojure/contrib/javadoc/browse_ui.clj5
3 files changed, 8 insertions, 5 deletions
diff --git a/src/main/clojure/clojure/contrib/javadoc.clj b/src/main/clojure/clojure/contrib/javadoc.clj
index 8a0c32e4..7ac30a4e 100644
--- a/src/main/clojure/clojure/contrib/javadoc.clj
+++ b/src/main/clojure/clojure/contrib/javadoc.clj
@@ -1,3 +1,4 @@
-(ns clojure.contrib.javadoc)
+(ns ^{:deprecated "1.2"}
+ clojure.contrib.javadoc)
-(throw (Exception. "clojure.contrib.javadoc/javadoc can now be found in clojure.contrib.repl-utils."))
+(throw (Exception. "clojure.contrib.javadoc/javadoc can now be found in clojure.java.javadoc"))
diff --git a/src/main/clojure/clojure/contrib/javadoc/browse.clj b/src/main/clojure/clojure/contrib/javadoc/browse.clj
index af61772d..a47fc0cd 100644
--- a/src/main/clojure/clojure/contrib/javadoc/browse.clj
+++ b/src/main/clojure/clojure/contrib/javadoc/browse.clj
@@ -11,7 +11,8 @@
(ns
^{:author "Christophe Grand",
- :doc "Start a web browser from Clojure"}
+ :deprecated "1.2"
+ :doc "Start a web browser from Clojure"}
clojure.contrib.javadoc.browse
(:require [clojure.contrib.shell :as sh])
(:import (java.net URI)))
diff --git a/src/main/clojure/clojure/contrib/javadoc/browse_ui.clj b/src/main/clojure/clojure/contrib/javadoc/browse_ui.clj
index 4bda1ff9..388c76d5 100644
--- a/src/main/clojure/clojure/contrib/javadoc/browse_ui.clj
+++ b/src/main/clojure/clojure/contrib/javadoc/browse_ui.clj
@@ -9,7 +9,8 @@
; the terms of this license.
; You must not remove this notice, or any other, from this software.
-(ns clojure.contrib.javadoc.browse-ui)
+(ns ^{:deprecated "1.2"}
+ clojure.contrib.javadoc.browse-ui)
(defn open-url-in-swing
"Opens url (a string) in a Swing window."
@@ -27,4 +28,4 @@
(.setContentPane (javax.swing.JScrollPane. htmlpane))
(.setBounds 32 32 700 900)
(.show))))
- \ No newline at end of file
+