Skip to content

Commit fb44f28

Browse files
Copyright: add missing headers to tree files
1 parent 8ba1534 commit fb44f28

File tree

4 files changed

+75
-9
lines changed

4 files changed

+75
-9
lines changed

objectbox-java/src/main/java/io/objectbox/tree/Branch.java

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
1-
package io.objectbox.tree;
1+
/*
2+
* Copyright 2021 ObjectBox Ltd. All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
216

3-
import io.objectbox.annotation.apihint.Experimental;
17+
package io.objectbox.tree;
418

519
import javax.annotation.Nullable;
620

21+
import io.objectbox.annotation.apihint.Experimental;
22+
723
/**
824
* A branch within a {@link Tree}. May have {@link #branch(String[]) branches} or {@link #leaf(String[]) leaves}.
925
*/

objectbox-java/src/main/java/io/objectbox/tree/Leaf.java

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
1+
/*
2+
* Copyright 2021 ObjectBox Ltd. All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package io.objectbox.tree;
218

3-
import io.objectbox.annotation.apihint.Experimental;
4-
import io.objectbox.model.PropertyType;
19+
import java.nio.charset.StandardCharsets;
520

621
import javax.annotation.Nullable;
7-
import java.nio.charset.StandardCharsets;
22+
23+
import io.objectbox.annotation.apihint.Experimental;
24+
import io.objectbox.model.PropertyType;
825

926
/**
1027
* A data leaf represents a data value in a {@link Tree} as a child of a {@link Branch}.

objectbox-java/src/main/java/io/objectbox/tree/LeafNode.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2021 ObjectBox Ltd. All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package io.objectbox.tree;
218

319
import io.objectbox.annotation.apihint.Experimental;

objectbox-java/src/main/java/io/objectbox/tree/Tree.java

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,32 @@
1+
/*
2+
* Copyright 2021 ObjectBox Ltd. All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package io.objectbox.tree;
218

19+
import java.io.Closeable;
20+
import java.util.concurrent.Callable;
21+
22+
import javax.annotation.Nullable;
23+
324
import io.objectbox.BoxStore;
425
import io.objectbox.InternalAccess;
526
import io.objectbox.Transaction;
627
import io.objectbox.annotation.apihint.Experimental;
728
import io.objectbox.model.PropertyType;
829

9-
import javax.annotation.Nullable;
10-
import java.io.Closeable;
11-
import java.util.concurrent.Callable;
12-
1330
/**
1431
* A higher level tree API operating on branch and leaf nodes.
1532
* Points to a root branch, can traverse child branches and read and write data in leafs.

0 commit comments

Comments
 (0)