summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amatus.name>2013-09-01 12:45:45 -0500
committerDavid Barksdale <amatus@amatus.name>2013-09-01 12:45:45 -0500
commit05fb3de39b40c22dda902b25705b2272df30e7e9 (patch)
tree7809bc5dd1a5199a81aae17910711b25a67a844f /src
parente5a01c3d697562b734f11ac13f96b8a4a95de6cd (diff)
Use :require in this case.
Diffstat (limited to 'src')
-rw-r--r--src/clojure/io/cons/carddav_sync/authentication_service.clj6
-rw-r--r--src/clojure/io/cons/carddav_sync/sync_service.clj6
2 files changed, 4 insertions, 8 deletions
diff --git a/src/clojure/io/cons/carddav_sync/authentication_service.clj b/src/clojure/io/cons/carddav_sync/authentication_service.clj
index f339457..7b3ddf3 100644
--- a/src/clojure/io/cons/carddav_sync/authentication_service.clj
+++ b/src/clojure/io/cons/carddav_sync/authentication_service.clj
@@ -1,6 +1,6 @@
(ns io.cons.carddav_sync.authentication_service
(:use io.cons.carddav_sync.log)
- (:require io.cons.carddav_sync.authenticator)
+ (:import io.cons.carddav_sync.authenticator)
(:gen-class
:extends android.app.Service
:exposes-methods {onCreate superOnCreate
@@ -16,9 +16,7 @@
[this]
(.superOnCreate this)
(log-i "Authentication Service created")
- (swap! (.state this)
- #(when-not %
- (io.cons.carddav_sync.authenticator. this))))
+ (swap! (.state this) #(when-not % (authenticator. this))))
(defn -onDestroy
[this]
diff --git a/src/clojure/io/cons/carddav_sync/sync_service.clj b/src/clojure/io/cons/carddav_sync/sync_service.clj
index e069f86..bcfd881 100644
--- a/src/clojure/io/cons/carddav_sync/sync_service.clj
+++ b/src/clojure/io/cons/carddav_sync/sync_service.clj
@@ -1,6 +1,6 @@
(ns io.cons.carddav_sync.sync_service
(:use io.cons.carddav_sync.log)
- (:require io.cons.carddav_sync.sync_adapter)
+ (:import io.cons.carddav_sync.sync_adapter)
(:gen-class
:extends android.app.Service
:exposes-methods {onCreate superOnCreate
@@ -17,9 +17,7 @@
(.superOnCreate this)
(log-i "Service created")
(swap! (.state this)
- #(when-not %
- (io.cons.carddav_sync.sync_adapter.
- (.getApplicationContext this) true))))
+ #(when-not % (sync_adapter. (.getApplicationContext this) true))))
(defn -onDestroy
[this]