From df2d7e740fb37109be02cdf6457f5eea77c4c6ce Mon Sep 17 00:00:00 2001 From: anna Date: Wed, 9 Mar 2011 21:07:05 +0100 Subject: [PATCH] suppress with javadoc tags restored for multiple tools (IDEA-66342) --- .../codeInsight/daemon/impl/actions/SuppressFix.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 {