Github user siyuanh commented on a diff in the pull request:
https://github.com/apache/incubator-apex-malhar/pull/261#discussion_r63750563
--- Diff: library/src/main/java/com/datatorrent/lib/algo/UniqueCounter.java
---
@@ -78,10 +78,10 @@ public void process(K tuple)
/**
* The output port which emits a map from keys to the number of times
they occurred within an application window.
*/
- public final transient DefaultOutputPort<HashMap<K, Integer>> count =
new DefaultOutputPort<HashMap<K, Integer>>()
+ public final transient DefaultOutputPort<Map<K, Integer>> count = new
DefaultOutputPort<Map<K, Integer>>()
{
@Override
- public Unifier<HashMap<K, Integer>> getUnifier()
--- End diff --
Should stay here so I can use this in high-level API
---
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.
---