You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by pt...@apache.org on 2014/04/24 21:06:40 UTC

[4/5] git commit: Replace another URLDecoder#decode.

Replace another URLDecoder#decode.


Project: http://git-wip-us.apache.org/repos/asf/incubator-storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-storm/commit/351895a9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-storm/tree/351895a9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-storm/diff/351895a9

Branch: refs/heads/master
Commit: 351895a9b1c02738e64bc04812759b1a6f8c0bd6
Parents: 7ff8dbf
Author: Muneyuki Noguchi <no...@gmail.com>
Authored: Fri Apr 25 01:52:57 2014 +0900
Committer: Muneyuki Noguchi <no...@gmail.com>
Committed: Fri Apr 25 01:53:49 2014 +0900

----------------------------------------------------------------------
 storm-core/src/clj/backtype/storm/ui/core.clj | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-storm/blob/351895a9/storm-core/src/clj/backtype/storm/ui/core.clj
----------------------------------------------------------------------
diff --git a/storm-core/src/clj/backtype/storm/ui/core.clj b/storm-core/src/clj/backtype/storm/ui/core.clj
index d5e7523..ad1a038 100644
--- a/storm-core/src/clj/backtype/storm/ui/core.clj
+++ b/storm-core/src/clj/backtype/storm/ui/core.clj
@@ -29,7 +29,6 @@
             Nimbus$Client StormTopology GlobalStreamId RebalanceOptions
             KillOptions])
   (:import [java.io File])
-  (:import [java.net URLDecoder])
   (:require [compojure.route :as route]
             [compojure.handler :as handler]
             [ring.util.response :as resp]
@@ -1020,7 +1019,7 @@
        (let [include-sys? (get-include-sys? cookies)
             id (url-decode id)]
          (try
-           (-> (topology-page (URLDecoder/decode id) (:window m) include-sys?)
+           (-> (topology-page (url-decode id) (:window m) include-sys?)
              (concat [(mk-system-toggle-button include-sys?)])
              ui-template)
            (catch Exception e (resp/redirect "/")))))