1. Shantanu Kumar
  2. Clj-DBCP


shantanuk  committed aa3d7ad

depend on clj-argutil

  • Participants
  • Parent commits f413266
  • Branches default

Comments (0)

Files changed (1)

File src/test/clj/org/bituf/dbserver_util.clj

View file
 (ns org.bituf.dbserver-util
   "Functions to start and stop embedded database servers."
+  (:use org.bituf.clj-argutil)
   (:import java.io.PrintWriter))
 (defn msg
   (println (format "\n*** %s ***" (str s))))
-(defn as-vector
-  "Convert anything to a vector and return the result"
-  [anything]
-  (if (vector? anything) anything
-    (if (or (seq? anything) (set? anything)) (into [] anything)
-      (if (map? anything) (into [] (vals anything))
-        [anything]))))
 (defn start-derby-server
   "Start the Derby database server on a network port. The default host is
   localhost and the default port is 1527.