Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix dynamic variable warnings

  • Loading branch information...
commit 7c6df878ed52ca03a781a5d7da2ed6f930600b64 1 parent 9364431
Joel Boehland authored
5 project.clj
View
@@ -4,7 +4,10 @@
:dependencies [[org.clojure/clojure "1.4.0"]
[org.clojure/tools.logging "0.2.3"]
[org.clojure/core.incubator "0.1.2"]
- [incanter "1.3.0"]
+ ;; Until this bug is fixed in incanter:
+ ;; https://github.com/liebke/incanter/issues/84
+ [incanter "1.3.0-SNAPSHOT" :exclusions [incanter/incanter-mongodb]]
+
[REngine/REngine "0.5-5"]
[JRIEngine/JRIEngine "0.5-5"]]
:autodoc {:name "rincanter"
2  src/com/evocomputing/rincanter.clj
View
@@ -21,7 +21,7 @@
(:use [incanter.core]
[com.evocomputing.rincanter.convert]))
-(defonce *jri-engine* (ref nil))
+(defonce ^:dynamic *jri-engine* (ref nil))
(defn init-jri-engine
"Initialize the jri engine. This can only be done once in the
2  src/com/evocomputing/rincanter/convert.clj
View
@@ -158,7 +158,7 @@ otherwise"
[rexp]
nil)
-(def *object-type-to-primitive-type-map*
+(def ^:dynamic *object-type-to-primitive-type-map*
{java.lang.Byte Byte/TYPE
java.lang.Integer Integer/TYPE
java.lang.Float Float/TYPE
Please sign in to comment.
Something went wrong with that request. Please try again.