From 1f472af6dc16b59ee9689957f767837ecfcae31e Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Tue, 15 Oct 2019 10:37:41 +0200 Subject: [PATCH] IG: description tweaks GitOrigin-RevId: 470e147e1200df92852aada413d1127e9adcf585 --- .../inspectionDescriptions/AssignmentToForLoopParameter.html | 2 +- .../src/inspectionDescriptions/TryWithIdenticalCatches.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToForLoopParameter.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToForLoopParameter.html index 163af3d227d9..26bd56a7d0ce 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToForLoopParameter.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToForLoopParameter.html @@ -1,6 +1,6 @@ -Reports assignment to, or modification of for statement parameters inside the for loop body. +Reports assignment to, or modification of for statement parameters inside the body of a for loop. While occasionally intended, this construct can be extremely confusing, and is often the result of a typo.

Assignments in basic for loops without an update statement are not reported. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TryWithIdenticalCatches.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TryWithIdenticalCatches.html index 466f4ef21cdc..c31414dce236 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TryWithIdenticalCatches.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TryWithIdenticalCatches.html @@ -1,6 +1,6 @@ -Reports identical catch sections in try blocks under JDK 7. A quickfix is available to collapse the sections into +Reports identical catch sections in a single try statement. Such sections can be collapsed into a multi-catch section.

This inspection only reports if the language level of the project or module is 7 or higher