Skip to content

Commit db2ed51

Browse files
author
Matt Revelle
committed
Updated to support new string api.
1 parent b02e57c commit db2ed51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/twitter/query.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
(ns twitter.query
22
(:refer-clojure :exclude [or name])
3-
(:require [clojure.contrib.str-utils :as str-utils]))
3+
(:require [clojure.string :as string]))
44

55
(defn or
66
"Build up a search string where all terms are OR'd."
77
[& terms]
88
(java.net.URLEncoder/encode
9-
(str-utils/str-join " OR "
10-
(map #(str "\"" % "\"") terms))
9+
(string/join " OR "
10+
(map #(str "\"" % "\"") terms))
1111
"UTF-8"))

0 commit comments

Comments
 (0)