Permalink
Browse files

Merge pull request #14 from pedestal/remove-read-string

Remove unnecessary use of 'read-string'
  • Loading branch information...
2 parents 4421c29 + f55895e commit 9316082fc667246c86bede5302eafff2257b626d @timewald timewald committed Mar 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 cors/src/cors/server.clj
View
@@ -24,7 +24,7 @@
(constantly (bootstrap/create-server (merge service/service opts)))))
(defn -main [& args]
- (create-server [::bootstrap/port (read-string (first args))])
+ (create-server [::bootstrap/port (Long/valueOf (first args))])
(bootstrap/start service-instance))

0 comments on commit 9316082

Please sign in to comment.