This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-3.4
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.4 by this push:
     new 18cc4dd0a0a [SPARK-42649][CORE] Remove the standard Apache License 
header from the top of third-party source files
18cc4dd0a0a is described below

commit 18cc4dd0a0a0a06628d761e19224d6840fea9f63
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Thu Mar 2 01:03:32 2023 -0800

    [SPARK-42649][CORE] Remove the standard Apache License header from the top 
of third-party source files
    
    ### What changes were proposed in this pull request?
    
    This PR aims to remove the standard Apache License header from the top of 
third-party source files.
    
    According to LICENSE file, I found two files.
    - https://github.com/apache/spark/blob/master/LICENSE
    
    ### Why are the changes needed?
    
    This was requested via `devspark` mailing list.
    - https://lists.apache.org/thread/wfy9sykncw2znhzlvyd18bkyjr7l9x43
    
    Here is the ASF legal policy.
    - https://www.apache.org/legal/src-headers.html#3party
    > Do not add the standard Apache License header to the top of third-party 
source files.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No. This is a source code distribution.
    
    ### How was this patch tested?
    
    Manual review.
    
    Closes #40249 from dongjoon-hyun/SPARK-42649.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 2c9f67ca5d1bb5de0fe4418ebcf95f2d1a8e3371)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .../apache/spark/network/util/LimitedInputStream.java   | 17 -----------------
 .../java/org/apache/spark/util/collection/TimSort.java  | 17 -----------------
 dev/.rat-excludes                                       |  2 ++
 3 files changed, 2 insertions(+), 34 deletions(-)

diff --git 
a/common/network-common/src/main/java/org/apache/spark/network/util/LimitedInputStream.java
 
b/common/network-common/src/main/java/org/apache/spark/network/util/LimitedInputStream.java
index e79eef03258..e6cf02a590e 100644
--- 
a/common/network-common/src/main/java/org/apache/spark/network/util/LimitedInputStream.java
+++ 
b/common/network-common/src/main/java/org/apache/spark/network/util/LimitedInputStream.java
@@ -1,20 +1,3 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
 /*
  * Based on LimitedInputStream.java from Google Guava
  *
diff --git a/core/src/main/java/org/apache/spark/util/collection/TimSort.java 
b/core/src/main/java/org/apache/spark/util/collection/TimSort.java
index 31428665f96..863e2e213e7 100644
--- a/core/src/main/java/org/apache/spark/util/collection/TimSort.java
+++ b/core/src/main/java/org/apache/spark/util/collection/TimSort.java
@@ -1,20 +1,3 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
 /*
  * Based on TimSort.java from the Android Open Source Project
  *
diff --git a/dev/.rat-excludes b/dev/.rat-excludes
index 0d684112019..59a7e8ac20f 100644
--- a/dev/.rat-excludes
+++ b/dev/.rat-excludes
@@ -144,3 +144,5 @@ any.proto
 empty.proto
 .*\.explain
 .*\.proto.bin
+LimitedInputStream.java
+TimSort.java


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to