Skip to content

Commit c3eb5c9

Browse files
Yatendra GoelYatendra Goel
Yatendra Goel
authored and
Yatendra Goel
committed
BAEL-1978: Added a test to demostrate classpath resource with relative path
1 parent 8374a26 commit c3eb5c9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

spring-core/src/test/java/com/baeldung/resource/SpringResourceIntegrationTest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
import java.io.IOException;
88
import java.io.InputStream;
99
import java.io.InputStreamReader;
10-
import java.net.URL;
11-
import java.net.URLClassLoader;
1210
import java.nio.file.Files;
1311
import java.util.stream.Collectors;
1412

@@ -25,8 +23,6 @@
2523
import org.springframework.test.context.support.AnnotationConfigContextLoader;
2624
import org.springframework.util.ResourceUtils;
2725

28-
import com.baeldung.dependson.config.TestConfig;
29-
3026
/**
3127
* Test class illustrating various methods of accessing a file from the classpath using Resource.
3228
* @author tritty

0 commit comments

Comments
 (0)