diff options
author | Dongjoon Hyun <dongjoon@apache.org> | 2016-04-27 09:15:06 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-04-27 09:15:06 +0100 |
commit | c5443560b7784473555e930a1ae65bf814ac27e5 (patch) | |
tree | d642d5f43ed33564449959ba61235a1cea93ed24 /core | |
parent | 54a3eb8312bf4dfe97f9b294a2466785a1a17de6 (diff) | |
download | spark-c5443560b7784473555e930a1ae65bf814ac27e5.tar.gz spark-c5443560b7784473555e930a1ae65bf814ac27e5.tar.bz2 spark-c5443560b7784473555e930a1ae65bf814ac27e5.zip |
[MINOR][BUILD] Enable RAT checking on `LZ4BlockInputStream.java`.
## What changes were proposed in this pull request?
Since `LZ4BlockInputStream.java` is not licensed to Apache Software Foundation (ASF), the Apache License header of that file is not monitored until now.
This PR aims to enable RAT checking on `LZ4BlockInputStream.java` by excluding from `dev/.rat-excludes`.
This will prevent accidental removal of Apache License header from that file.
## How was this patch tested?
Pass the Jenkins tests (Specifically, RAT check stage).
Author: Dongjoon Hyun <dongjoon@apache.org>
Closes #12677 from dongjoon-hyun/minor_rat_exclusion_file.
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/java/org/apache/spark/io/LZ4BlockInputStream.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/main/java/org/apache/spark/io/LZ4BlockInputStream.java b/core/src/main/java/org/apache/spark/io/LZ4BlockInputStream.java index 8783b5f56e..9d6f06ed28 100644 --- a/core/src/main/java/org/apache/spark/io/LZ4BlockInputStream.java +++ b/core/src/main/java/org/apache/spark/io/LZ4BlockInputStream.java @@ -1,5 +1,3 @@ -package org.apache.spark.io; - /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +11,7 @@ package org.apache.spark.io; * See the License for the specific language governing permissions and * limitations under the License. */ +package org.apache.spark.io; import java.io.EOFException; import java.io.FilterInputStream; |