From ef1282d2acccd177bce123084f59a09e5826cd18 Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Mon, 27 Feb 2017 11:59:17 +0100 Subject: [PATCH] IG: remove numbered checkbox descriptions for "String concatenation" inspection --- .../siyeh/InspectionGadgetsBundle.properties | 6 +++--- .../StringConcatenation.html | 19 ------------------- 2 files changed, 3 insertions(+), 22 deletions(-) diff --git a/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/InspectionGadgetsBundle.properties b/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/InspectionGadgetsBundle.properties index 39ced9e76b17..8ef5de25f0bb 100644 --- a/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/InspectionGadgetsBundle.properties +++ b/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/InspectionGadgetsBundle.properties @@ -323,10 +323,10 @@ string.concatenation.display.name=String concatenation string.concatenation.problem.descriptor=String concatenation #ref in an internationalized context #loc inspection.option.ignore.system.out=Ignore for 'System.out.print' arguments inspection.option.ignore.system.err=Ignore for 'System.err.print' arguments -inspection.option.ignore.assert=Ignore for assert statement arguments -inspection.option.ignore.exceptions=Ignore for throwable arguments +inspection.option.ignore.assert=Ignore for assert statement description arguments +inspection.option.ignore.exceptions=Ignore for constructor arguments of Throwable subclasses inspection.option.ignore.nonnls=Ignore when annotated via @NonNls -inspection.option.ignore.constant.initializers=Ignore for initializers of constants +inspection.option.ignore.constant.initializers=Ignore for initializers of constant fields inspection.option.ignore.in.annotations=Ignore in annotations inspection.option.ignore.in.tostring=Ignore inside toString() methods inspection.option.ignore.as.initial.capacity=Ignore initial capacity for StringBuilders and Collections diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenation.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenation.html index e9350e39513f..49dc50d188c7 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenation.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenation.html @@ -4,24 +4,5 @@ Reports any String concatenation (+). Concatenation is usually incorrect in an internationalized environment, and should be replaced by uses of java.text.MessageFormat or similar classes. -

-Use the first checkbox below to have this inspection ignore string concatenations -which are used as a description argument in an assert statement. -

-Use the second checkbox to ignore string concatenations used as arguments -for a call to any of the System.out.print() methods. -

-Use the third checkbox to ignore string concatenations used as arguments -for a call to any of the System.err.print() methods. -

-Use the fourth checkbox to ignore string concatenations used as arguments in -the construction of any subclass of java.lang.Throwable -

-Use the fifth checkbox to ignore string concatenations in the initializers -of constant fields. -

-Use the sixth checkbox to ignore string concatenations inside toString() methods. -

- \ No newline at end of file