Permalink
Browse files

Updated Clojure dependency to 1.2.0, changed type hinting to new style

  • Loading branch information...
1 parent 4875121 commit b3d29062607c461deecc701c860e1ae80e06d3f8 @weavejester weavejester committed with Aug 25, 2010
Showing with 4 additions and 4 deletions.
  1. +2 −2 project.clj
  2. +2 −2 src/clj_stacktrace/utils.clj
View
@@ -1,5 +1,5 @@
-(defproject clj-stacktrace "0.1.3"
+(defproject clj-stacktrace "0.1.2"
:description "More readable stacktraces in Clojure programs."
:url "http://github.com/mmcgrana/clj-stacktrace"
- :dependencies [[org.clojure/clojure "1.1.0"]]
+ :dependencies [[org.clojure/clojure "1.2.0"]]
:dev-dependencies [[lein-clojars "0.5.0"]])
@@ -12,7 +12,7 @@
(defn re-gsub
"Simple version of re-gsub that only supports string replacements."
- [#^java.util.regex.Pattern regex replacement #^String string]
+ [^java.util.regex.Pattern regex replacement ^String string]
(.. regex (matcher string) (replaceAll replacement)))
(defn re-without
@@ -22,7 +22,7 @@
(defn re-match?
"Returns true iff the given string contains a match for the given pattern."
- [#^java.util.regex.Pattern pattern string]
+ [^java.util.regex.Pattern pattern string]
(.find (.matcher pattern string)))
(defn re-get

0 comments on commit b3d2906

Please sign in to comment.