diff --git a/java/java-impl/src/com/intellij/codeInsight/daemon/impl/actions/SuppressFix.java b/java/java-impl/src/com/intellij/codeInsight/daemon/impl/actions/SuppressFix.java index b3fd3fbe2676..98d76211c9a2 100644 --- a/java/java-impl/src/com/intellij/codeInsight/daemon/impl/actions/SuppressFix.java +++ b/java/java-impl/src/com/intellij/codeInsight/daemon/impl/actions/SuppressFix.java @@ -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 {