From 7b29eaf7de0d042a9fedc837322c449fa7a03c7e Mon Sep 17 00:00:00 2001 From: Aaron Bedra and Stuart Halloway Date: Fri, 23 Jul 2010 11:06:50 -0400 Subject: deprecating javadoc (moved to clojure) --- src/main/clojure/clojure/contrib/javadoc.clj | 5 +++-- src/main/clojure/clojure/contrib/javadoc/browse.clj | 3 ++- src/main/clojure/clojure/contrib/javadoc/browse_ui.clj | 5 +++-- 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 + -- cgit v1.2.3-18-g5258