Skip to content

Commit 5ee61b4

Browse files
Merge branch 'master' into pr/720-tim-bootstrap-security
2 parents e087fc9 + bd179cd commit 5ee61b4

23 files changed

Lines changed: 55 additions & 10 deletions

File tree

‎core-java/src/test/java/com/baeldung/java8/JavaFolderSizeUnitTest.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
import org.junit.Test;
2020

2121
public class JavaFolderSizeUnitTest {
22-
private final long EXPECTED_SIZE = 381;
22+
private final long EXPECTED_SIZE = 24;
2323
private String path;
2424

2525
@Before
2626
public void init() {
2727
final String separator = File.separator;
28-
path = String.format("src%stest%sresources", separator, separator);
28+
path = String.format("src%stest%sresources%stestFolder", separator, separator, separator);
2929
}
3030

3131
@Test

‎core-java/src/test/java/org/baeldung/java/io/JavaFileUnitTest.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public final void givenUsingGuava_whenMovingFile_thenCorrect() throws IOExceptio
7676

7777
@Test
7878
public final void givenUsingApache_whenMovingFile_thenCorrect() throws IOException {
79+
FileUtils.touch(new File("src/test/resources/fileToMove_apache.txt"));
7980
FileUtils.moveFile(FileUtils.getFile("src/test/resources/fileToMove_apache.txt"), FileUtils.getFile("src/test/resources/fileMoved_apache2.txt"));
8081
}
8182

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Hello world
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Hello world !

‎junit5/src/test/java/com/baeldung/FirstTest.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ void lambdaExpressions() {
1919
.sum() > 5, "Sum should be greater than 5");
2020
}
2121

22+
@Disabled("test to show MultipleFailuresError")
2223
@Test
2324
void groupAssertions() {
2425
int[] numbers = {0, 1, 2, 3, 4};
File renamed without changes.

spring-boot-data-dynamodb/src/main/java/com/baeldung/Application.java renamed to spring-data-dynamodb/src/main/java/com/baeldung/Application.java

File renamed without changes.

spring-boot-data-dynamodb/src/main/java/com/baeldung/spring/data/es/config/DynamoDBConfig.java renamed to spring-data-dynamodb/src/main/java/com/baeldung/spring/data/dynamodb/config/DynamoDBConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung.spring.data.es.config;
1+
package com.baeldung.spring.data.dynamodb.config;
22

33
import com.amazonaws.auth.AWSCredentials;
44
import com.amazonaws.auth.BasicAWSCredentials;
@@ -11,7 +11,7 @@
1111
import org.springframework.util.StringUtils;
1212

1313
@Configuration
14-
@EnableDynamoDBRepositories(basePackages = "com.baeldung.spring.data.es.repositories")
14+
@EnableDynamoDBRepositories(basePackages = "com.baeldung.spring.data.dynamodb.repositories")
1515
public class DynamoDBConfig {
1616

1717
@Value("${amazon.dynamodb.endpoint}")

0 commit comments

Comments
 (0)