Merge change 23595 into eclair
* changes: fixing NPE that i see on my Mac when running idegen.sh
This commit is contained in:
@@ -123,7 +123,11 @@ public class Configuration {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
boolean firstJavaFile = true;
|
boolean firstJavaFile = true;
|
||||||
for (File file : directory.listFiles()) {
|
File[] files = directory.listFiles();
|
||||||
|
if (files == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
for (File file : files) {
|
||||||
// Trim preceding "./" from path.
|
// Trim preceding "./" from path.
|
||||||
String path = file.getPath().substring(2);
|
String path = file.getPath().substring(2);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user