From 07fc5303c932d9d509d81d44e1a25bd244ceb7dd Mon Sep 17 00:00:00 2001 From: David Liebke and Stuart Halloway Date: Fri, 28 May 2010 15:59:42 -0400 Subject: [PATCH] chouser gets involved Signed-off-by: Stuart Halloway --- src/clj/clojure/string.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/clojure/string.clj b/src/clj/clojure/string.clj index e47bb4bf97..47e0b02cb3 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