Removed unnecessary final on local variables.
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ public class CodegenTestsOnAndroidRunner {
|
||||
if (resultOutput == null) return suite;
|
||||
|
||||
// Test name -> stackTrace
|
||||
final Map<String, String> resultMap = parseOutputForFailedTests(resultOutput);
|
||||
Map<String, String> resultMap = parseOutputForFailedTests(resultOutput);
|
||||
final Statistics statistics;
|
||||
|
||||
// If map is empty => there are no failed tests
|
||||
|
||||
@@ -107,7 +107,7 @@ public class RunUtils {
|
||||
final StringBuilder stdOut = new StringBuilder();
|
||||
final StringBuilder stdErr = new StringBuilder();
|
||||
|
||||
final OSProcessHandler handler;
|
||||
OSProcessHandler handler;
|
||||
try {
|
||||
handler = new OSProcessHandler(settings.commandLine.createProcess(), settings.commandLine.getCommandLineString(), Charsets.UTF_8);
|
||||
if (settings.input != null) {
|
||||
|
||||
+1
-1
@@ -133,7 +133,7 @@ public class CodegenTestsOnAndroidGenerator extends UsefulTestCase {
|
||||
String generatedTestName = generateTestName(file.getName());
|
||||
String packageName = file.getPath().replaceAll("\\\\|-|\\.|/", "_");
|
||||
text = changePackage(packageName, text);
|
||||
final ClassFileFactory factory;
|
||||
ClassFileFactory factory;
|
||||
if (filesCompiledWithoutStdLib.contains(file.getName())) {
|
||||
factory = getFactoryFromText(file.getAbsolutePath(), text, environmentWithMockJdk);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user