flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aljos...@apache.org
Subject [13/23] flink git commit: [FLINK-6107] Enable newline at EOF check in streaming checkstyle
Date Wed, 26 Apr 2017 10:07:35 GMT
[FLINK-6107] Enable newline at EOF check in streaming checkstyle


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/bab816f8
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/bab816f8
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/bab816f8

Branch: refs/heads/master
Commit: bab816f8167f2ea277f14d079eac6d3c2778850a
Parents: 2581a7b
Author: Aljoscha Krettek <aljoscha.krettek@gmail.com>
Authored: Sun Mar 19 10:29:10 2017 +0100
Committer: Aljoscha Krettek <aljoscha.krettek@gmail.com>
Committed: Wed Apr 26 10:36:50 2017 +0200

----------------------------------------------------------------------
 .../flink/streaming/api/graph/StreamGraphUserHashHasher.java | 2 +-
 .../flink/streaming/runtime/operators/package-info.java      | 2 +-
 .../flink/streaming/runtime/tasks/OperatorStateHandles.java  | 2 +-
 .../apache/flink/streaming/runtime/tasks/package-info.java   | 2 +-
 flink-streaming-java/src/test/resources/log4j.properties     | 2 +-
 tools/maven/strict-checkstyle.xml                            | 8 ++++----
 6 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/bab816f8/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamGraphUserHashHasher.java
----------------------------------------------------------------------
diff --git a/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamGraphUserHashHasher.java
b/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamGraphUserHashHasher.java
index a5e77cc..89ec45a 100644
--- a/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamGraphUserHashHasher.java
+++ b/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamGraphUserHashHasher.java
@@ -54,4 +54,4 @@ public class StreamGraphUserHashHasher implements StreamGraphHasher {
 
 		return hashResult;
 	}
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/flink/blob/bab816f8/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/package-info.java
----------------------------------------------------------------------
diff --git a/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/package-info.java
b/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/package-info.java
index 5fe6873..fd1a71f 100644
--- a/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/package-info.java
+++ b/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/package-info.java
@@ -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;
\ No newline at end of file
+package org.apache.flink.streaming.runtime.operators;

http://git-wip-us.apache.org/repos/asf/flink/blob/bab816f8/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/OperatorStateHandles.java
----------------------------------------------------------------------
diff --git a/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/OperatorStateHandles.java
b/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/OperatorStateHandles.java
index 30d07b7..1a79f54 100644
--- a/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/OperatorStateHandles.java
+++ b/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/OperatorStateHandles.java
@@ -106,4 +106,4 @@ public class OperatorStateHandles {
 	private static <T> T getSafeItemAtIndexOrNull(List<T> list, int idx) {
 		return CollectionUtil.isNullOrEmpty(list) ? null : list.get(idx);
 	}
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/flink/blob/bab816f8/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/package-info.java
----------------------------------------------------------------------
diff --git a/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/package-info.java
b/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/package-info.java
index e5b7908..a1179ff 100644
--- a/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/package-info.java
+++ b/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/package-info.java
@@ -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;
\ No newline at end of file
+package org.apache.flink.streaming.runtime.tasks;

http://git-wip-us.apache.org/repos/asf/flink/blob/bab816f8/flink-streaming-java/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/flink-streaming-java/src/test/resources/log4j.properties b/flink-streaming-java/src/test/resources/log4j.properties
index ed2bbcb..4a30c6f 100644
--- a/flink-streaming-java/src/test/resources/log4j.properties
+++ b/flink-streaming-java/src/test/resources/log4j.properties
@@ -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
\ No newline at end of file
+log4j.appender.console.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p %-60c %x - %m%n

http://git-wip-us.apache.org/repos/asf/flink/blob/bab816f8/tools/maven/strict-checkstyle.xml
----------------------------------------------------------------------
diff --git a/tools/maven/strict-checkstyle.xml b/tools/maven/strict-checkstyle.xml
index 3bf9863..7684a24 100644
--- a/tools/maven/strict-checkstyle.xml
+++ b/tools/maven/strict-checkstyle.xml
@@ -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. -->


Mime
View raw message