Merge commit '8e2c602625c12e93ef9e4891e90d1737c90c0eba' * commit '8e2c602625c12e93ef9e4891e90d1737c90c0eba': Fix NPE in layoutopt when trying to open non-XML files.
This commit is contained in:
@@ -51,7 +51,7 @@ public class Main {
|
|||||||
for (File file : files) {
|
for (File file : files) {
|
||||||
if (file.isFile() && file.getName().endsWith(".xml")) {
|
if (file.isFile() && file.getName().endsWith(".xml")) {
|
||||||
analyze(analyzer, file);
|
analyze(analyzer, file);
|
||||||
} else {
|
} else if (file.isDirectory()) {
|
||||||
analyzeFiles(file.listFiles());
|
analyzeFiles(file.listFiles());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user