Skip to content

Commit

Permalink
Added setBoolean.
Browse files Browse the repository at this point in the history
  • Loading branch information
sritchie committed Nov 4, 2011
1 parent a13342f commit 6263dde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/hadoop_util/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
[{key :key value :value conf :conf}]
(.setFloat conf key value))

(defmethod conf-set Boolean
[{key :key value :value conf :conf}]
(.setBoolean conf key value))

(defmethod conf-set Long
[{key :key value :value conf :conf}]
(.setLong conf key value))
Expand Down
2 changes: 0 additions & 2 deletions src/hadoop_util/transfer.clj
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,3 @@
(FileNotFoundException.
(str "Could not find on remote " spath)))
(copy-local* fs (path spath) dest-path buffer))))


0 comments on commit 6263dde

Please sign in to comment.