Github user srdo commented on a diff in the pull request: https://github.com/apache/storm/pull/1744#discussion_r89674623 --- Diff: storm-core/src/jvm/org/apache/storm/stats/StatsUtil.java --- @@ -1505,19 +1508,18 @@ public static ComponentPageInfo aggCompExecsStats( * @return a list of host+port */ public static List<Map<String, Object>> extractNodeInfosFromHbForComp( - Map exec2hostPort, Map task2component, boolean includeSys, String compId) { + Map<List<? extends Number>, List<Object>> exec2hostPort, Map<Integer, String> task2component, boolean includeSys, String compId) { List<Map<String, Object>> ret = new ArrayList<>(); Set<List> hostPorts = new HashSet<>(); - for (Object o : exec2hostPort.entrySet()) { - Map.Entry entry = (Map.Entry) o; - List key = (List) entry.getKey(); - List value = (List) entry.getValue(); + for (Entry<List<? extends Number>, List<Object>> entry : exec2hostPort.entrySet()) { + List<? extends Number> key = entry.getKey(); + List value = entry.getValue(); --- End diff -- Missing `<Object>`?
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---