From 35ddf2f7dc195a2797d74499a6ec90e64ced0464 Mon Sep 17 00:00:00 2001 From: chaokunyang Date: Sun, 22 Dec 2024 22:07:21 +0800 Subject: [PATCH] add missing license header --- cpp/fury/type/type.h | 19 +++++++++++++++++++ .../main/java/org/apache/fury/type/Types.java | 19 +++++++++++++++++++ python/pyfury/_registry.py | 17 +++++++++++++++++ python/pyfury/serializer.py | 1 + .../pyfury/tests/test_metastring_resolver.py | 17 +++++++++++++++++ 5 files changed, 73 insertions(+) diff --git a/cpp/fury/type/type.h b/cpp/fury/type/type.h index 2d6d01b954..08bc9d504b 100644 --- a/cpp/fury/type/type.h +++ b/cpp/fury/type/type.h @@ -1,3 +1,22 @@ +/* + * 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. + */ + #include // For fixed-width integer types namespace fury { diff --git a/java/fury-core/src/main/java/org/apache/fury/type/Types.java b/java/fury-core/src/main/java/org/apache/fury/type/Types.java index c0f2b86464..517c3dce5e 100644 --- a/java/fury-core/src/main/java/org/apache/fury/type/Types.java +++ b/java/fury-core/src/main/java/org/apache/fury/type/Types.java @@ -1,3 +1,22 @@ +/* + * 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.type; public class Types { diff --git a/python/pyfury/_registry.py b/python/pyfury/_registry.py index eb0472ac5e..7b5f862534 100644 --- a/python/pyfury/_registry.py +++ b/python/pyfury/_registry.py @@ -1,3 +1,20 @@ +# 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. + import array import dataclasses import datetime diff --git a/python/pyfury/serializer.py b/python/pyfury/serializer.py index 33702b8635..8d49ad9c1a 100644 --- a/python/pyfury/serializer.py +++ b/python/pyfury/serializer.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. + import array import itertools import os diff --git a/python/pyfury/tests/test_metastring_resolver.py b/python/pyfury/tests/test_metastring_resolver.py index bc0f388bc6..53858f7bdc 100644 --- a/python/pyfury/tests/test_metastring_resolver.py +++ b/python/pyfury/tests/test_metastring_resolver.py @@ -1,3 +1,20 @@ +# 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. + from pyfury import Buffer from pyfury._serialization import MetaStringResolver, MetaStringBytes from pyfury.meta.metastring import MetaStringEncoder