maven: code cleanup

This commit is contained in:
Vladislav.Soroka
2016-10-05 10:28:39 +03:00
parent 46f9ce3e03
commit 20f9daaacb
@@ -465,7 +465,7 @@ public class MavenDomProjectProcessorUtils {
if (processProfiles(projectDom.getProfiles(), mavenProjectOrNull, processor, domProfileFunction)) return true;
T t = projectDomFunction.fun(projectDom);
return t == null ? false : processor.process(t);
return t != null && processor.process(t);
}
private static <T> boolean processProfilesXml(VirtualFile projectFile,