From e99ba0883650a4b416d557a1ff1aa7d07d9bce53 Mon Sep 17 00:00:00 2001 From: "dziltener@lyrion.ch" Date: Tue, 21 Nov 2017 14:57:39 +0000 Subject: [PATCH] Fixed. --- src/clojurefx/controllergen.clj | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/clojurefx/controllergen.clj b/src/clojurefx/controllergen.clj index 94fb490..156f3fa 100644 --- a/src/clojurefx/controllergen.clj +++ b/src/clojurefx/controllergen.clj @@ -164,7 +164,7 @@ (defn gen-fx-controller [fxmlzip fxmlpath [clj-ns clj-fn] [pkg classname]] (let [fxid-elems (get-fxid-elems fxmlzip) - handler-fns (get-handler-fns fxmlzip) + handler-fns (get-handler-fns fxmlzip) import-classes (build-imports fxmlpath) inited-class (init-class pkg classname import-classes) propped-class (gen-props inited-class fxid-elems import-classes) @@ -172,8 +172,6 @@ handled-class (gen-handlers initializer-class handler-fns clj-ns)] (debug (pr-str handler-fns)) (.visitEnd handled-class) - (with-open [out (io/output-stream (io/file "/home/zilti/Test.class"))] - (.write out (.toByteArray handled-class))) (.toByteArray handled-class))) ;; ;; Plumber