Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 95af848

Browse files
author
Kapil Reddy
committed
FIX - Dangling function name in icw.data.process
1 parent 3b73cf4 commit 95af848

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/icw/data/process.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
(defn populate-db
9797
[]
9898
(jdbc/init-db)
99-
(let [albums (source->album-xs album-lines)]
99+
(let [albums (line-xs->album-xs album-lines)]
100100
(doseq [album albums]
101101
(jdbc/insert! album))))
102102

‎src/icw/data/process_faster.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ x
355355

356356
(with-open [rdr (clojure.java.io/reader "resources/data/albumlist.csv")]
357357
(let [lines (line-seq rdr)
358-
albums (idp/source->album-xs idp/album-source)]
358+
albums (idp/line-xs->album-xs idp/album-lines)]
359359
(doseq [album albums]
360360
;; Running it in another thread will help
361361
(jdbc/insert! album)))))

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /