Github user mxm commented on a diff in the pull request:
https://github.com/apache/flink/pull/1844#discussion_r58665510
--- Diff:
flink-contrib/flink-storm-examples/src/main/java/org/apache/flink/storm/split/SpoutSplitExample.java
---
@@ -84,16 +86,27 @@ public static void main(final String[] args) throws
Exception {
/**
* Same as {@link VerifyAndEnrichBolt}.
*/
- private final static class Enrich implements MapFunction<Integer,
Tuple2<String, Integer>> {
+ public final static class Enrich implements MapFunction<Integer,
Tuple2<String, Integer>> {
private static final long serialVersionUID =
5213888269197438892L;
private final Tuple2<String, Integer> out;
+ private final boolean evenOrOdd; // true: even -- false: odd
--- End diff --
How about `isEven` as name here?
---
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.
---