builder: DefaultPackageScannerTest: make classPath local variable
This commit is contained in:
parent
1b318253d2
commit
f189fb3b84
1 changed files with 1 additions and 3 deletions
|
@ -16,13 +16,11 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|||
*/
|
||||
public class DefaultPackageScannerTest {
|
||||
|
||||
private ClassPath classPath;
|
||||
|
||||
private DefaultPackageScanner scanner;
|
||||
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
classPath = ClassPath.from(getClass().getClassLoader());
|
||||
final ClassPath classPath = ClassPath.from(getClass().getClassLoader());
|
||||
scanner = new DefaultPackageScanner(classPath);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue