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

    https://github.com/apache/flink/pull/1075#discussion_r38305177
  
    --- Diff: 
flink-java/src/main/java/org/apache/flink/api/java/utils/DataSetUtils.java ---
    @@ -121,6 +122,7 @@ public void mapPartition(Iterable<T> values, 
Collector<Tuple2<Long, T>> out) thr
     
                return input.mapPartition(new RichMapPartitionFunction<T, 
Tuple2<Long, T>>() {
     
    +                   long maxLength = log2(Long.MAX_VALUE);
    --- End diff --
    
    You can make this `static final`


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

Reply via email to