export html action: do not add href to problem resolutions
authorDmitry Batkovich <dmitry.batkovich@jetbrains.com>
Wed, 4 May 2016 11:19:34 +0000 (14:19 +0300)
committerDmitry Batkovich <dmitry.batkovich@jetbrains.com>
Wed, 4 May 2016 11:19:34 +0000 (14:19 +0300)
platform/analysis-impl/src/com/intellij/codeInspection/ex/HTMLComposerImpl.java

index 49820b79aaf561fddd1d00410b016e9d56d64f2c..bdbf81f83524b5620d6d60ca2ee4683217ee6d4b 100644 (file)
@@ -292,8 +292,7 @@ public abstract class HTMLComposerImpl extends HTMLComposer {
     if (where instanceof RefElement && !where.isValid()) return;
     if (quickFixes != null) {
       boolean listStarted = false;
-      for (int i = 0; i < quickFixes.length; i++) {
-        final String text = quickFixes[i];
+      for (final String text : quickFixes) {
         if (text == null) continue;
         if (!listStarted) {
           appendHeading(buf, InspectionsBundle.message("inspection.problem.resolution"));