summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Liebke and Stuart Halloway <pair@clojure.com>2010-05-28 15:59:42 -0400
committerStuart Halloway <stu@thinkrelevance.com>2010-06-03 21:20:59 -0400
commit07fc5303c932d9d509d81d44e1a25bd244ceb7dd (patch)
tree826ca471a3ec908203b5a7c846871bdfae820e0d
parent723991c12a4d12ef1dc4f5ab205e6f2a741faf33 (diff)
chouser gets involved
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
-rw-r--r--src/clj/clojure/string.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clj/clojure/string.clj b/src/clj/clojure/string.clj
index e47bb4bf..47e0b02c 100644
--- a/src/clj/clojure/string.clj
+++ b/src/clj/clojure/string.clj
@@ -43,7 +43,7 @@
(instance? Pattern match) (if (string? replacement)
(.replaceAll (re-matcher ^Pattern match s) ^String replacement)
(replace-by s match replacement))
- :default (throw (IllegalArgumentException. (str "Invalid match arg: " match)))))
+ :else (throw (IllegalArgumentException. (str "Invalid match arg: " match)))))
(defn- replace-first-by
"Replace first match of re in s with the result of