Skip to content

Commit

Permalink
paired_filter: fix copyright and licence headers (speedb-io#199) (spe…
Browse files Browse the repository at this point in the history
…edb-io#204)

The paired Bloom filter files are either missing a copyright notice and
licence header, or contain the wrong one. Fix that in order to adhere
to the contribution guidelines.
  • Loading branch information
isaac-io authored and Yuval-Ariel committed Nov 25, 2022
1 parent b78a738 commit 72799b2
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 11 deletions.
19 changes: 12 additions & 7 deletions plugin/speedb/paired_filter/speedb_db_bloom_filter_test.cc
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
// Copyright (C) 2022 Speedb Ltd. All rights reserved.
//
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
// 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 <cstring>
#include <iomanip>
Expand Down
14 changes: 13 additions & 1 deletion plugin/speedb/paired_filter/speedb_paired_bloom.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
// TODO: ADD Speedb's Copyright Notice !!!!!
// Copyright (C) 2022 Speedb Ltd. All rights reserved.
//
// 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 "plugin/speedb/paired_filter/speedb_paired_bloom.h"

Expand Down
14 changes: 13 additions & 1 deletion plugin/speedb/paired_filter/speedb_paired_bloom.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
// TODO: ADD Speedb's Copyright Notice !!!!!
// Copyright (C) 2022 Speedb Ltd. All rights reserved.
//
// 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.

#pragma once
#include "rocksdb/filter_policy.h"
Expand Down
14 changes: 13 additions & 1 deletion plugin/speedb/paired_filter/speedb_paired_bloom_internal.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
// TODO: ADD Speedb's Copyright Notice !!!!!
// Copyright (C) 2022 Speedb Ltd. All rights reserved.
//
// 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 "plugin/speedb/paired_filter/speedb_paired_bloom_internal.h"

Expand Down
14 changes: 14 additions & 0 deletions plugin/speedb/paired_filter/speedb_paired_bloom_internal.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright (C) 2022 Speedb Ltd. All rights reserved.
//
// 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.

#pragma once

#include <functional>
Expand Down
14 changes: 13 additions & 1 deletion plugin/speedb/speedb_customizable_test.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
// TODO: ADD Speedb's Copyright Notice !!!!!
// Copyright (C) 2022 Speedb Ltd. All rights reserved.
//
// 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 <cctype>
#include <cinttypes>
Expand Down

0 comments on commit 72799b2

Please sign in to comment.