am 8e2c6026: am 16a56b8c: Fix NPE in layoutopt when trying to open non-XML files.

Merge commit '8e2c602625c12e93ef9e4891e90d1737c90c0eba'

* commit '8e2c602625c12e93ef9e4891e90d1737c90c0eba':
  Fix NPE in layoutopt when trying to open non-XML files.
This commit is contained in:
Romain Guy
2009-10-12 11:41:58 -07:00
committed by Android Git Automerger

View File

@@ -51,7 +51,7 @@ public class Main {
for (File file : files) {
if (file.isFile() && file.getName().endsWith(".xml")) {
analyze(analyzer, file);
} else {
} else if (file.isDirectory()) {
analyzeFiles(file.listFiles());
}
}