Skip to content

Commit

Permalink
[FLINK-6107] Enable newline at EOF check in streaming checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
aljoscha committed Apr 26, 2017
1 parent 2581a7b commit bab816f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ public Map<Integer, byte[]> traverseStreamGraphAndGenerateHashes(StreamGraph str

return hashResult;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
* This package contains the operators that perform the stream transformations.
* One or more operators are bundled into a "chain" and executed in a stream task.
*/
package org.apache.flink.streaming.runtime.operators;
package org.apache.flink.streaming.runtime.operators;
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ public int getOperatorChainIndex() {
private static <T> T getSafeItemAtIndexOrNull(List<T> list, int idx) {
return CollectionUtil.isNullOrEmpty(list) ? null : list.get(idx);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
* <p>The tasks merely set up the distributed stream coordination and the checkpointing.
* Internally, the tasks create one or more operators, perform the stream transformations.
*/
package org.apache.flink.streaming.runtime.tasks;
package org.apache.flink.streaming.runtime.tasks;
2 changes: 1 addition & 1 deletion flink-streaming-java/src/test/resources/log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ log4j.rootLogger=OFF, console
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.target = System.err
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p %-60c %x - %m%n
log4j.appender.console.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p %-60c %x - %m%n
8 changes: 4 additions & 4 deletions tools/maven/strict-checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ This file is based on the checkstyle file of Apache Beam.
<!--&lt;!&ndash; Checks that there are no tab characters in the file. &ndash;&gt;-->
<!--</module>-->

<!--<module name="NewlineAtEndOfFile">-->
<!--&lt;!&ndash; windows can use \n\r vs \n, so enforce the most used one ie UNIx style &ndash;&gt;-->
<!--<property name="lineSeparator" value="lf" />-->
<!--</module>-->
<module name="NewlineAtEndOfFile">
<!-- windows can use \n\r vs \n, so enforce the most used one ie UNIx style -->
<property name="lineSeparator" value="lf" />
</module>

<module name="RegexpSingleline">
<!-- Checks that TODOs don't have stuff in parenthesis, e.g., username. -->
Expand Down

0 comments on commit bab816f

Please sign in to comment.