diff --git a/.gitignore b/.gitignore index 88c5e49808..48b52bec06 100644 --- a/.gitignore +++ b/.gitignore @@ -89,5 +89,14 @@ testing-modules/report-*.json libraries-2/*.db +apache-spark/data/output +logs/ +libraries-data-io/*.docx +persistence-modules/spring-hibernate-5/com.* +spring-boot-modules/spring-boot-react/frontend/build +spring-boot-modules/spring-boot-react/frontend/node +spring-boot-modules/spring-boot-react/frontend/yarn.lock +spring-boot-modules/spring-boot-properties-3/*.log + # SDKMan -.sdkmanrc +.sdkmanrc \ No newline at end of file diff --git a/core-java-modules/core-java-lang-3/src/test/java/com/baeldung/transientkw/TransientUnitTest.java b/core-java-modules/core-java-lang-3/src/test/java/com/baeldung/transientkw/TransientUnitTest.java index cf63a0ddda..a3ea77ec86 100644 --- a/core-java-modules/core-java-lang-3/src/test/java/com/baeldung/transientkw/TransientUnitTest.java +++ b/core-java-modules/core-java-lang-3/src/test/java/com/baeldung/transientkw/TransientUnitTest.java @@ -3,6 +3,9 @@ package com.baeldung.transientkw; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; +import java.io.File; + +import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.Test; class TransientUnitTest { @@ -31,5 +34,11 @@ class TransientUnitTest { assertEquals("Fiction", book2.getBookCategory()); } + + @AfterAll + public static void cleanup() { + File file = new File(BookSerDe.fileName); + file.deleteOnExit(); + } }