You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2023/03/02 09:05:54 UTC

[spark] branch branch-3.2 updated: [SPARK-42649][CORE] Remove the standard Apache License header from the top of third-party source files

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

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


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

commit 789d891a9d9b464ea943d6de46f1b555c8271052
Author: Dongjoon Hyun <do...@apache.org>
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
    
    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
    
    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.
    
    No. This is a source code distribution.
    
    Manual review.
    
    Closes #40249 from dongjoon-hyun/SPARK-42649.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
    (cherry picked from commit 2c9f67ca5d1bb5de0fe4418ebcf95f2d1a8e3371)
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 .../apache/spark/network/util/LimitedInputStream.java   | 17 -----------------
 .../java/org/apache/spark/util/collection/TimSort.java  | 17 -----------------
 dev/.rat-excludes                                       |  4 +++-
 3 files changed, 3 insertions(+), 35 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 a35d4ce9760..367e89f90aa 100644
--- a/dev/.rat-excludes
+++ b/dev/.rat-excludes
@@ -135,4 +135,6 @@ over1k
 over10k
 exported_table/*
 ansible-for-test-node/*
-node_modules
\ No newline at end of file
+node_modules
+LimitedInputStream.java
+TimSort.java


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org