Do nothing if there is no files to write

This commit is contained in:
Michael Bogdanov
2016-04-22 17:30:01 +03:00
parent 1b9fa25ac6
commit 18b879102a
@@ -166,6 +166,8 @@ public class CodegenTestsOnAndroidGenerator extends UsefulTestCase {
}
private void writeFiles(List<KtFile> filesToCompile) {
if (filesToCompile.isEmpty()) return;
System.out.println("Generating " + filesToCompile.size() + " files...");
OutputFileCollection outputFiles;
try {