Skip to content

Commit

Permalink
Remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
Oskar Jung committed Sep 30, 2015
1 parent 818ddb0 commit d4624b5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
5 changes: 0 additions & 5 deletions src/mbeanz/common.clj

This file was deleted.

3 changes: 1 addition & 2 deletions src/mbeanz/core.clj
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
(ns mbeanz.core
(:gen-class)
(:require [clojure.java.jmx :as jmx]
[clojure.core.match :refer [match]]
[mbeanz.common :refer :all])
[clojure.core.match :refer [match]])
(:import [java.lang.IllegalArgumentException]))

(defn get-identifiers [[bean-name & bean-ops]]
Expand Down
4 changes: 0 additions & 4 deletions src/mbeanz/handler.clj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
[ring.middleware.reload :refer [wrap-reload]]
[compojure.core :refer :all]
[mbeanz.core :refer :all]
[mbeanz.common :refer :all]
[clojure.java.jmx :as jmx]
[clojure.edn :as edn])
(:use [org.httpkit.server :only [run-server]]
Expand All @@ -22,9 +21,6 @@

(defonce jmx-remote-port (atom 1080))

(defn- identifier-string [identifiers]
(map #(str (:bean %) " " (stringify (:operation %))) identifiers))

(defn- handle-describe [operation]
(fn [request]
(jmx/with-connection {:host @jmx-remote-host :port @jmx-remote-port}
Expand Down

0 comments on commit d4624b5

Please sign in to comment.