Github user kl0u commented on a diff in the pull request:
https://github.com/apache/flink/pull/5500#discussion_r171253650
--- Diff:
flink-streaming-java/src/test/java/org/apache/flink/streaming/api/DataStreamTest.java
---
@@ -740,24 +734,17 @@ public void testProcessTranslation() {
private static final long serialVersionUID = 1L;
@Override
- public void processElement(
- Long value,
- Context ctx,
- Collector<Integer> out) throws
Exception {
-
+ public void processElement(Long value, Context ctx,
Collector<Integer> out) throws Exception {
+ // Do nothing
}
@Override
- public void onTimer(
- long timestamp,
- OnTimerContext ctx,
- Collector<Integer> out) throws
Exception {
-
+ public void onTimer(long timestamp, OnTimerContext ctx,
Collector<Integer> out) throws Exception {
+ // Do nothing
}
};
- DataStream<Integer> processed = src
- .process(processFunction);
+ DataStream<Integer> processed = src.process(processFunction);
--- End diff --
Remove reformatting.
---