From 8112262312f2cbf6b494c1927c188acd01de65c5 Mon Sep 17 00:00:00 2001 From: Dmitry Batkovich Date: Wed, 4 May 2016 14:19:34 +0300 Subject: [PATCH] export html action: do not add href to problem resolutions --- .../src/com/intellij/codeInspection/ex/HTMLComposerImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/analysis-impl/src/com/intellij/codeInspection/ex/HTMLComposerImpl.java b/platform/analysis-impl/src/com/intellij/codeInspection/ex/HTMLComposerImpl.java index 49820b79aaf5..bdbf81f83524 100644 --- a/platform/analysis-impl/src/com/intellij/codeInspection/ex/HTMLComposerImpl.java +++ b/platform/analysis-impl/src/com/intellij/codeInspection/ex/HTMLComposerImpl.java @@ -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"));