File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
(ns twitter
2
2
(:use [clojure.contrib.json :only [read-json]]
3
- [clojure.string :only [replace]]
4
3
[clojure.contrib.java-utils :only [as-str]])
5
4
(:require [clojure.set :as set]
5
+ [clojure.string :as string]
6
6
[com.twinql.clojure.http :as http]
7
7
[twitter.query :as query]
8
8
[oauth.client :as oauth]
@@ -51,7 +51,7 @@ take any required and optional arguments and call the associated Twitter method.
51
51
rest-map# (apply hash-map rest#)
52
52
provided-optional-params# (set/intersection (set ~optional-params)
53
53
(set (keys rest-map#)))
54
- query-param-names# (sort (map (fn [x#] (keyword (replace #"-" " _" (name x#))))
54
+ query-param-names# (sort (map (fn [x#] (keyword (string/ replace #"-" " _" (name x#))))
55
55
(concat ~required-params provided-optional-params#)))
56
56
query-params# (apply hash-map (interleave query-param-names#
57
57
(vec (concat ~required-fn-params
@@ -385,7 +385,7 @@ take any required and optional arguments and call the associated Twitter method.
385
385
(fn
386
386
[x__2575__auto__]
387
387
(keyword
388
- (replace
388
+ (string/ replace
389
389
#"-"
390
390
" _"
391
391
(name
You can’t perform that action at this time.
0 commit comments