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:06:50 -0400
commit7b29eaf7de0d042a9fedc837322c449fa7a03c7e (patch)
treee833ca8f3d4b890880db8d82cd1e8cd1fd584a2a
parentb7c64bb25d0c1e5cd28a8001c14986f34b95a1cf (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
+