mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
suppress with javadoc tags restored for multiple tools (IDEA-66342)
This commit is contained in:
@@ -116,12 +116,7 @@ public class SuppressFix extends SuppressIntentionAction {
|
||||
else {
|
||||
PsiDocTag noInspectionTag = docComment.findTagByName(SuppressionUtil.SUPPRESS_INSPECTIONS_TAG_NAME);
|
||||
if (noInspectionTag != null) {
|
||||
final PsiDocTagValue valueElement = noInspectionTag.getValueElement();
|
||||
String tagText = "@" +
|
||||
SuppressionUtil.SUPPRESS_INSPECTIONS_TAG_NAME +
|
||||
" " +
|
||||
(valueElement != null ? valueElement.getText() + "," : "") +
|
||||
getID(container);
|
||||
String tagText = noInspectionTag.getText() + ", " + getID(container);
|
||||
noInspectionTag.replace(JavaPsiFacade.getInstance(manager.getProject()).getElementFactory().createDocTagFromText(tagText));
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user