Mercurial > hg > indyvon
changeset 112:2bd613007e97
Enabled reflection warnings.
author | Mikhail Kryshen <mikhail@kryshen.net> |
---|---|
date | Fri, 04 Nov 2011 00:14:57 +0300 |
parents | 441fe457fc2b |
children | 38576aca70d8 |
files | project.clj src/net/kryshen/indyvon/component.clj |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/project.clj Fri Nov 04 00:13:50 2011 +0300 +++ b/project.clj Fri Nov 04 00:14:57 2011 +0300 @@ -1,7 +1,7 @@ (defproject indyvon "0.0.1" :description "INteractive DYnamic VisualizatiON: an experimental GUI library" :url "https://bitbucket.org/kryshen/indyvon" - ;;:warn-on-reflection true + :warn-on-reflection true :dependencies [[org.clojure/clojure "1.3.0"] [com.google.guava/guava "10.0"]] ;;:aot [net.kryshen.indyvon.core
--- a/src/net/kryshen/indyvon/component.clj Fri Nov 04 00:13:50 2011 +0300 +++ b/src/net/kryshen/indyvon/component.clj Fri Nov 04 00:14:57 2011 +0300 @@ -59,7 +59,7 @@ (listen! event-dispatcher panel) panel))) -(defn make-jframe [title layer] +(defn make-jframe [^String title layer] (doto (JFrame. title) (.. (getContentPane) (add (make-jpanel layer))) (.pack)))