Remove unused ExpectedExceptions
Closes gh-10101
This commit is contained in:
committed by
Stephane Nicoll
parent
3ef3b40783
commit
118f65556f
@@ -23,7 +23,6 @@ import java.net.URL;
|
||||
import org.junit.Before;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.junit.rules.ExpectedException;
|
||||
import org.junit.rules.TemporaryFolder;
|
||||
|
||||
import org.springframework.boot.loader.TestJarCreator;
|
||||
@@ -42,9 +41,6 @@ public class JarURLConnectionTests {
|
||||
@Rule
|
||||
public TemporaryFolder temporaryFolder = new TemporaryFolder(new File("target"));
|
||||
|
||||
@Rule
|
||||
public ExpectedException thrown = ExpectedException.none();
|
||||
|
||||
private File rootJarFile;
|
||||
|
||||
private JarFile jarFile;
|
||||
|
||||
Reference in New Issue
Block a user