Skip to content

Instantly share code, notes, and snippets.

@rattboi
Last active July 15, 2016 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rattboi/59cbd6c612bc32838cf25025f8f1092e to your computer and use it in GitHub Desktop.
Save rattboi/59cbd6c612bc32838cf25025f8f1092e to your computer and use it in GitHub Desktop.
(defn load-composite-config [fnames]
(let [comp-config (CompositeConfiguration.)
added-configs (map #(add-config comp-config %) fnames)]
;(if (= comp-config (first added-configs))
; (println "Equal")
; (println "Not Equal"))
;(first added-configs)
comp-config
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment