mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-29787 fix IAE
This commit is contained in:
@@ -95,10 +95,13 @@ public class AndroidMavenProviderImpl implements AndroidMavenProvider {
|
||||
|
||||
List<Pattern> includes = MavenResourceCompiler.collectPatterns(resource.getIncludes(), "**/*");
|
||||
List<Pattern> excludes = MavenResourceCompiler.collectPatterns(resource.getExcludes(), null);
|
||||
String targetPath = FileUtil.toSystemIndependentName(resource.getTargetPath());
|
||||
final String resourceTargetPath = resource.getTargetPath();
|
||||
if (resourceTargetPath != null) {
|
||||
String targetPath = FileUtil.toSystemIndependentName(resourceTargetPath);
|
||||
|
||||
if (processResources(module.getProject(), resDir, resDir, includes, excludes, targetPath, processor)) {
|
||||
return true;
|
||||
if (processResources(module.getProject(), resDir, resDir, includes, excludes, targetPath, processor)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user