aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Sierra <mail@stuartsierra.com>2010-02-10 12:32:06 -0500
committerStuart Sierra <mail@stuartsierra.com>2010-02-10 12:32:06 -0500
commite65fe6462feb668c1ee1d84fde00081f055c788f (patch)
tree9add8df6aa205c8ee702bce6fbb1eb64f5aaf9b6
parent1fe4b40ea2ef5ff1d7ade7e560e6f0d07d9d68bf (diff)
fix bogus Replacement class name in c.c.string
-rw-r--r--src/main/clojure/clojure/contrib/string.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/clojure/clojure/contrib/string.clj b/src/main/clojure/clojure/contrib/string.clj
index 094e0441..8a0ceeaa 100644
--- a/src/main/clojure/clojure/contrib/string.clj
+++ b/src/main/clojure/clojure/contrib/string.clj
@@ -179,7 +179,7 @@
(defn replace-first-re
"Replace first match of re in s."
- [#^Pattern re #^Replacement replacement #^String s]
+ [#^Pattern re #^String replacement #^String s]
(.replaceFirst (re-matcher re s) replacement))
(defn replace-first-by