Skip to content

Commit

Permalink
chore: added header licenses on new source files
Browse files Browse the repository at this point in the history
Signed-off-by: Maximillian Arruda <maximillian.arruda@MBP-de-Digibee.local>
  • Loading branch information
dearrudam authored and Maximillian Arruda committed Nov 13, 2023
1 parent 29c96fc commit 262d9ac
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
/*
* Copyright (c) 2023 Contributors to the Eclipse Foundation
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php.
*
* You may elect to redistribute this code under either of these licenses.
*
* Contributors:
*
* Maximillian Arruda
*/
package org.eclipse.jnosql.databases.mongodb.integration;

import jakarta.data.repository.PageableRepository;
import jakarta.data.repository.Repository;

@Repository
public interface BookRepository extends PageableRepository<Book,String> {
public interface BookRepository extends PageableRepository<Book, String> {
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
* Copyright (c) 2023 Contributors to the Eclipse Foundation
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php.
*
* You may elect to redistribute this code under either of these licenses.
*
* Contributors:
*
* Maximillian Arruda
*/
package org.eclipse.jnosql.databases.mongodb.integration;

import jakarta.inject.Inject;
Expand Down Expand Up @@ -86,7 +100,7 @@ void shouldDeleteById() {
}

@Test
void shouldDeleteAll(){
void shouldDeleteAll() {
for (int index = 0; index < 20; index++) {
Book book = new Book(randomUUID().toString(), "Effective Java", 1);
assertThat(repository.save(book))
Expand Down

0 comments on commit 262d9ac

Please sign in to comment.