Github user unsleepy22 commented on a diff in the pull request:
https://github.com/apache/storm/pull/1445#discussion_r72778899
--- Diff: storm-core/src/jvm/org/apache/storm/utils/Utils.java ---
@@ -2364,4 +2374,23 @@ public static long bitXor(Long a, Long b) {
return rtn;
}
+ /**
+ * converts a clojure PersistentMap to java HashMap
+ */
+ public static Map<String, Object> convertMap(Map map) {
--- End diff --
Will change method name. For parameter type, this method is called in
`Executor.mkExecutor` which passes in `Map workerData`, which should later be
replaced with a normal java map after worker is ported to java, so I personally
prefer the generic Map type instead of using APersistentMap.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---