Fix license headers in Cassandra related files

Summary:
I might have missed these while doing some recent cassandra code reviews.
Closes https://github.com/facebook/rocksdb/pull/2663

Differential Revision: D5520138

Pulled By: sagar0

fbshipit-source-id: 340930afe9efe03c75f535a1da1f89bd3e53c1f9
main
Sagar Vemuri 7 years ago committed by Facebook Github Bot
parent 50a969131f
commit aace46516b
  1. 4
      include/rocksdb/utilities/debug.h
  2. 4
      java/rocksjni/cassandra_value_operator.cc
  3. 8
      java/src/main/java/org/rocksdb/CassandraCompactionFilter.java
  4. 4
      java/src/main/java/org/rocksdb/CassandraValueMergeOperator.java
  5. 4
      utilities/cassandra/merge_operator.cc
  6. 4
      utilities/cassandra/merge_operator.h
  7. 4
      utilities/cassandra/serialize.h
  8. 10
      utilities/cassandra/test_utils.cc
  9. 4
      utilities/cassandra/test_utils.h

@ -1,9 +1,7 @@
// Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
// Copyright (c) 2017-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).
// This source code is also licensed under the GPLv2 license found in the
// COPYING file in the root directory of this source tree.
#pragma once

@ -1,9 +1,7 @@
// Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
// Copyright (c) 2017-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).
// This source code is also licensed under the GPLv2 license found in the
// COPYING file in the root directory of this source tree.
#include <stdio.h>
#include <stdlib.h>

@ -1,7 +1,7 @@
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
// Copyright (c) 2017-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).
package org.rocksdb;

@ -1,9 +1,7 @@
// Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
// Copyright (c) 2017-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).
// This source code is also licensed under the GPLv2 license found in the
// COPYING file in the root directory of this source tree.
package org.rocksdb;

@ -1,9 +1,7 @@
// Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
// Copyright (c) 2017-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).
// This source code is also licensed under the GPLv2 license found in the
// COPYING file in the root directory of this source tree.
#include "merge_operator.h"

@ -1,9 +1,7 @@
// Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
// Copyright (c) 2017-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).
// This source code is also licensed under the GPLv2 license found in the
// COPYING file in the root directory of this source tree.
#pragma once
#include "rocksdb/merge_operator.h"

@ -1,9 +1,7 @@
// Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
// Copyright (c) 2017-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).
// This source code is also licensed under the GPLv2 license found in the
// COPYING file in the root directory of this source tree.
/**
* Helper functions which serialize and deserialize integers

@ -1,9 +1,7 @@
// Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
// This source code is also licensed under the GPLv2 license found in the
// COPYING file in the root directory of this source tree.
// Copyright (c) 2017-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).
#include "test_utils.h"

@ -1,9 +1,7 @@
// Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
// Copyright (c) 2017-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).
// This source code is also licensed under the GPLv2 license found in the
// COPYING file in the root directory of this source tree.
#pragma once
#include <memory>

Loading…
Cancel
Save