World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[MINOR] improvement: change copyright information of class `Bytes` (#700)
Qi Yue7568f02b68a
diff --git a/LICENSE b/LICENSEindex be2dab8cb4..46c41a62f4 100644--- a/LICENSE+++ b/LICENSE@@ -238,3 +238,6 @@Apache Hadoop./dev/docker/hive/hadoop-env.sh./dev/docker/hive/yarn-env.sh++ Apache Kafka+ ./core/src/main/java/com/datastrato/gravitino/utils/Bytes.javadiff --git a/NOTICE b/NOTICEindex b6b952c018..65136b2da5 100644--- a/NOTICE+++ b/NOTICE@@ -1,4 +1,4 @@-Gravitron+GravitinoCopyright 2023 DatastratoThis product includes software developed at@@ -19,5 +19,8 @@ Copyright 2016-2023 The Apache Software FoundationApache HadoopCopyright 2006 and onwards The Apache Software Foundation.+Apache Kafka+Copyright 2011-2023 The Apache Software Foundation+This product includes software developed atThe Apache Software Foundation (http://www.apache.org/).diff --git a/core/src/main/java/com/datastrato/gravitino/utils/Bytes.java b/core/src/main/java/com/datastrato/gravitino/utils/Bytes.javaindex 4471b84ac1..bdeea5734d 100644--- a/core/src/main/java/com/datastrato/gravitino/utils/Bytes.java+++ b/core/src/main/java/com/datastrato/gravitino/utils/Bytes.java@@ -1,6 +1,20 @@/*- * Copyright 2023 Datastrato.- * This software is licensed under the Apache License version 2.+ * 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 com.datastrato.gravitino.utils;@@ -9,6 +23,8 @@ import java.io.Serializable;import java.util.Arrays;import java.util.Comparator;+// Referred from Apache Kafka's Bytes implementation+// clients/src/main/java/org/apache/kafka/common/utils/Bytes.javapublic class Bytes implements Comparable<byte[]> {public static final byte[] EMPTY = new byte[0];