From f88fb74d488a1d833909795f2fa98cb152d86b5f Mon Sep 17 00:00:00 2001 From: Shinichi Umegane Date: Wed, 28 Aug 2024 19:50:08 +0900 Subject: [PATCH] Add Apache License 2.0 header to recently created source files --- include/limestone/api/compaction_catalog.h | 16 ++++++++++++++++ include/limestone/api/rotation_task.h | 16 ++++++++++++++++ src/limestone/compaction_catalog.cpp | 16 ++++++++++++++++ src/limestone/online_compaction.cpp | 16 ++++++++++++++++ src/limestone/online_compaction.h | 16 ++++++++++++++++ src/limestone/rotation_task.cpp | 16 ++++++++++++++++ .../compaction/compaction_catalog_test.cpp | 16 ++++++++++++++++ .../compaction/online_compaction_test.cpp | 16 ++++++++++++++++ test/limestone/compaction/rotation_task_test.cpp | 16 ++++++++++++++++ 9 files changed, 144 insertions(+) diff --git a/include/limestone/api/compaction_catalog.h b/include/limestone/api/compaction_catalog.h index aee4bee3..339a35f6 100644 --- a/include/limestone/api/compaction_catalog.h +++ b/include/limestone/api/compaction_catalog.h @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 Project Tsurugi. + * + * Licensed 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. + */ + #ifndef COMPACTION_CATALOG_H #define COMPACTION_CATALOG_H diff --git a/include/limestone/api/rotation_task.h b/include/limestone/api/rotation_task.h index 8fa858f8..34c0de6c 100644 --- a/include/limestone/api/rotation_task.h +++ b/include/limestone/api/rotation_task.h @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 Project Tsurugi. + * + * Licensed 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. + */ + #ifndef ROTATION_TASK_H #define ROTATION_TASK_H diff --git a/src/limestone/compaction_catalog.cpp b/src/limestone/compaction_catalog.cpp index cb4035c0..accb70fd 100644 --- a/src/limestone/compaction_catalog.cpp +++ b/src/limestone/compaction_catalog.cpp @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 Project Tsurugi. + * + * Licensed 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 #include #include diff --git a/src/limestone/online_compaction.cpp b/src/limestone/online_compaction.cpp index 02d16d37..b45a6569 100644 --- a/src/limestone/online_compaction.cpp +++ b/src/limestone/online_compaction.cpp @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 Project Tsurugi. + * + * Licensed 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 "online_compaction.h" #include diff --git a/src/limestone/online_compaction.h b/src/limestone/online_compaction.h index 5f09cd20..d0333a3d 100644 --- a/src/limestone/online_compaction.h +++ b/src/limestone/online_compaction.h @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 Project Tsurugi. + * + * Licensed 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. + */ + #ifndef ONLINE_COMPACTION_H #define ONLINE_COMPACTION_H diff --git a/src/limestone/rotation_task.cpp b/src/limestone/rotation_task.cpp index b242e59b..e9f7f711 100644 --- a/src/limestone/rotation_task.cpp +++ b/src/limestone/rotation_task.cpp @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 Project Tsurugi. + * + * Licensed 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 #include diff --git a/test/limestone/compaction/compaction_catalog_test.cpp b/test/limestone/compaction/compaction_catalog_test.cpp index 21555fd8..a82a4cc5 100644 --- a/test/limestone/compaction/compaction_catalog_test.cpp +++ b/test/limestone/compaction/compaction_catalog_test.cpp @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 Project Tsurugi. + * + * Licensed 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 #include #include diff --git a/test/limestone/compaction/online_compaction_test.cpp b/test/limestone/compaction/online_compaction_test.cpp index 3aa6662d..e9a13797 100644 --- a/test/limestone/compaction/online_compaction_test.cpp +++ b/test/limestone/compaction/online_compaction_test.cpp @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 Project Tsurugi. + * + * Licensed 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 #include diff --git a/test/limestone/compaction/rotation_task_test.cpp b/test/limestone/compaction/rotation_task_test.cpp index 132c3ef3..ef9cd8c8 100644 --- a/test/limestone/compaction/rotation_task_test.cpp +++ b/test/limestone/compaction/rotation_task_test.cpp @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 Project Tsurugi. + * + * Licensed 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 #include #include