Skip to content

Commit 262d9ac

Browse files
dearrudamMaximillian Arruda
authored andcommitted
chore: added header licenses on new source files
Signed-off-by: Maximillian Arruda <[email protected]>
1 parent 29c96fc commit 262d9ac

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
1+
/*
2+
* Copyright (c) 2023 Contributors to the Eclipse Foundation
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v1.0
5+
* and Apache License v2.0 which accompanies this distribution.
6+
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
7+
* and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php.
8+
*
9+
* You may elect to redistribute this code under either of these licenses.
10+
*
11+
* Contributors:
12+
*
13+
* Maximillian Arruda
14+
*/
115
package org.eclipse.jnosql.databases.mongodb.integration;
216

317
import jakarta.data.repository.PageableRepository;
418
import jakarta.data.repository.Repository;
519

620
@Repository
7-
public interface BookRepository extends PageableRepository<Book,String> {
21+
public interface BookRepository extends PageableRepository<Book, String> {
822
}

jnosql-mongodb/src/test/java/org/eclipse/jnosql/databases/mongodb/integration/RepositoryIntegrationTest.java

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*
2+
* Copyright (c) 2023 Contributors to the Eclipse Foundation
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v1.0
5+
* and Apache License v2.0 which accompanies this distribution.
6+
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
7+
* and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php.
8+
*
9+
* You may elect to redistribute this code under either of these licenses.
10+
*
11+
* Contributors:
12+
*
13+
* Maximillian Arruda
14+
*/
115
package org.eclipse.jnosql.databases.mongodb.integration;
216

317
import jakarta.inject.Inject;
@@ -86,7 +100,7 @@ void shouldDeleteById() {
86100
}
87101

88102
@Test
89-
void shouldDeleteAll(){
103+
void shouldDeleteAll() {
90104
for (int index = 0; index < 20; index++) {
91105
Book book = new Book(randomUUID().toString(), "Effective Java", 1);
92106
assertThat(repository.save(book))

0 commit comments

Comments
 (0)