Skip to content

Commit

Permalink
Add missing copyright headers to files added in PR 11805 (#11942)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #11942

Reviewed By: akankshamahajan15

Differential Revision: D50188986

fbshipit-source-id: 56a8e72eac085470824e33f2126d2a6ec3880400
  • Loading branch information
ltamasi authored and facebook-github-bot committed Oct 11, 2023
1 parent 20b4f13 commit 5e2906c
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 1 deletion.
7 changes: 6 additions & 1 deletion java/rocksjni/jni_perf_context.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright (c) Meta Platforms, Inc. and affiliates.
// 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 <jni.h>

#include "include/org_rocksdb_PerfContext.h"
Expand Down Expand Up @@ -1180,4 +1185,4 @@ jlong Java_org_rocksdb_PerfContext_getNumberAsyncSeek(JNIEnv*, jobject,
ROCKSDB_NAMESPACE::PerfContext* perf_context =
reinterpret_cast<ROCKSDB_NAMESPACE::PerfContext*>(jpc_handle);
return perf_context->number_async_seek;
}
}
5 changes: 5 additions & 0 deletions java/src/main/java/org/rocksdb/PerfContext.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright (c) Meta Platforms, Inc. and affiliates.
// 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;

public class PerfContext extends RocksObject {
Expand Down
5 changes: 5 additions & 0 deletions java/src/main/java/org/rocksdb/PerfLevel.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright (c) Meta Platforms, Inc. and affiliates.
// 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;

public enum PerfLevel {
Expand Down
5 changes: 5 additions & 0 deletions java/src/test/java/org/rocksdb/PerfContextTest.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright (c) Meta Platforms, Inc. and affiliates.
// 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;

import static org.assertj.core.api.Assertions.assertThat;
Expand Down
5 changes: 5 additions & 0 deletions java/src/test/java/org/rocksdb/PerfLevelTest.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright (c) Meta Platforms, Inc. and affiliates.
// 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;

import static org.assertj.core.api.Assertions.assertThat;
Expand Down

0 comments on commit 5e2906c

Please sign in to comment.