Github user aljoscha commented on a diff in the pull request:

    https://github.com/apache/incubator-flink/pull/273#discussion_r21969545
  
    --- Diff: 
flink-addons/flink-streaming/flink-streaming-core/src/main/java/org/apache/flink/streaming/api/datastream/ConnectedDataStream.java
 ---
    @@ -402,10 +415,10 @@ protected 
ConnectedDataStream(ConnectedDataStream<IN1, IN2> coDataStream) {
         */
        public <OUT> SingleOutputStreamOperator<OUT, ?> map(CoMapFunction<IN1, 
IN2, OUT> coMapper) {
                TypeInformation<OUT> outTypeInfo = 
TypeExtractor.createTypeInfo(CoMapFunction.class,
    -                           coMapper.getClass(), 2, null, null);
    +                           clean(coMapper).getClass(), 2, null, null);
    --- End diff --
    
    We don't need the extra cleaning before the .getClass() method. This also 
applied to the other parts in this PR where that pattern occurs.


---
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.
---

Reply via email to