This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-fury.git
The following commit(s) were added to refs/heads/main by this push:
new d369975b [JAVA] remove license header from MurmurHash3 (#1284)
d369975b is described below
commit d369975b67015f5b6ed6902ca477c2a802929f3b
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Dec 29 16:10:22 2023 +0100
[JAVA] remove license header from MurmurHash3 (#1284)
feels wrong to add an ASL when the code is borrowed and the source is
not Apache licensed
---
.../java/org/apache/fury/util/MurmurHash3.java | 23 +++-------------------
licenserc.toml | 1 +
2 files changed, 4 insertions(+), 20 deletions(-)
diff --git a/java/fury-core/src/main/java/org/apache/fury/util/MurmurHash3.java
b/java/fury-core/src/main/java/org/apache/fury/util/MurmurHash3.java
index 3d9be915..3864138a 100644
--- a/java/fury-core/src/main/java/org/apache/fury/util/MurmurHash3.java
+++ b/java/fury-core/src/main/java/org/apache/fury/util/MurmurHash3.java
@@ -1,28 +1,11 @@
-/*
- * 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.
- */
-
package org.apache.fury.util;
// Derived from
//
https://github.com/yonik/java_util/blob/435ae306d2f2c077d981ab4de5c9ac3c45f92a4b/src/util/hash/MurmurHash3.java.
-// This implementtion is 3.5x faster than Guava's Hashing.murmur3_128.
+// yonik/java_util file has no license header
+
+// This implementation is 3.5x faster than Guava's Hashing.murmur3_128.
/**
* The MurmurHash3 algorithm was created by Austin Appleby and placed in the
public domain. This
diff --git a/licenserc.toml b/licenserc.toml
index 5bd40688..e68540f9 100644
--- a/licenserc.toml
+++ b/licenserc.toml
@@ -42,6 +42,7 @@ excludes = [
"java/fury-core/src/main/java/org/apache/fury/io/ClassLoaderObjectInputStream.java",
"java/fury-core/src/main/java/org/apache/fury/memory/MemoryBuffer.java",
"java/fury-core/src/main/java/org/apache/fury/type/Generics.java",
+ "java/fury-core/src/main/java/org/apache/fury/util/MurmurHash3.java",
"java/fury-core/src/main/java/org/apache/fury/util/Platform.java",
"java/fury-core/src/main/java/org/apache/fury/util/Preconditions.java",
"java/fury-core/src/test/java/org/apache/fury/type/GenericsTest.java",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]