mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix broken maven test.
This commit is contained in:
@@ -79,11 +79,7 @@ public class MavenDomUtil {
|
||||
public static boolean isProfilesFile(PsiFile file) {
|
||||
if (!(file instanceof XmlFile)) return false;
|
||||
|
||||
String name = file.getName();
|
||||
if (!name.equals(MavenConstants.PROFILES_XML)) return false;
|
||||
|
||||
XmlTag rootTag = ((XmlFile)file).getRootTag();
|
||||
return rootTag != null && "profilesXml".equals(rootTag.getName());
|
||||
return MavenConstants.PROFILES_XML.equals(file.getName());
|
||||
}
|
||||
|
||||
public static boolean isSettingsFile(PsiFile file) {
|
||||
|
||||
Reference in New Issue
Block a user