mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
inspections: avoid null profile name from TeamCity
This commit is contained in:
+1
-1
@@ -162,7 +162,7 @@ public class ViewOfflineResultsAction extends AnAction implements DumbAware {
|
||||
inspectionProfile = (InspectionProfile)profile;
|
||||
}
|
||||
else {
|
||||
inspectionProfile = new InspectionProfileImpl(profileName) {
|
||||
inspectionProfile = new InspectionProfileImpl(profileName != null ? profileName : "Server Side") {
|
||||
public boolean isToolEnabled(final HighlightDisplayKey key, PsiElement element) {
|
||||
return resMap.containsKey(key.toString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user