minor code quality cleanup per codacy

This commit is contained in:
Jeremy Long
2017-07-06 06:55:16 -04:00
parent 3ffb2d1312
commit eb244e0234

View File

@@ -27,7 +27,6 @@ import org.junit.After;
import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail; import static org.junit.Assert.fail;
import org.junit.Assume; import org.junit.Assume;
@@ -60,10 +59,6 @@ public class AssemblyAnalyzerTest extends BaseTest {
private AssemblyAnalyzer analyzer; private AssemblyAnalyzer analyzer;
private File grokAssemblyExeFile;
private File grokAssemblyConfigFile;
/** /**
* Sets up the analyzer. * Sets up the analyzer.
* *
@@ -89,6 +84,9 @@ public class AssemblyAnalyzerTest extends BaseTest {
private void assertGrokAssembly() throws IOException { private void assertGrokAssembly() throws IOException {
// There must be an .exe and a .config files created in the temp // There must be an .exe and a .config files created in the temp
// directory and they must match the resources they were created from. // directory and they must match the resources they were created from.
File grokAssemblyExeFile = null;
File grokAssemblyConfigFile = null;
File tempDirectory = Settings.getTempDirectory(); File tempDirectory = Settings.getTempDirectory();
for (File file : tempDirectory.listFiles()) { for (File file : tempDirectory.listFiles()) {
String filename = file.getName(); String filename = file.getName();