BAEL-1978: Added a test to demostrate classpath resource with relative path
This commit is contained in:
parent
8374a264d1
commit
c3eb5c939f
@ -7,8 +7,6 @@ import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.InputStreamReader;
|
||||
import java.net.URL;
|
||||
import java.net.URLClassLoader;
|
||||
import java.nio.file.Files;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@ -25,8 +23,6 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
import org.springframework.test.context.support.AnnotationConfigContextLoader;
|
||||
import org.springframework.util.ResourceUtils;
|
||||
|
||||
import com.baeldung.dependson.config.TestConfig;
|
||||
|
||||
/**
|
||||
* Test class illustrating various methods of accessing a file from the classpath using Resource.
|
||||
* @author tritty
|
||||
|
Loading…
x
Reference in New Issue
Block a user