From 679de5d46d38d9f96ebeccbab7d9e4b030e4d590 Mon Sep 17 00:00:00 2001 From: Tagir Valeev Date: Fri, 20 Oct 2023 16:11:43 +0200 Subject: [PATCH] [java-inspections] ConstantExpression inspection proof-reading GitOrigin-RevId: 5e97937a479a98dd302757d3539703353dc253cc --- .../resources/messages/InspectionGadgetsBundle.properties | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java/java-analysis-impl/resources/messages/InspectionGadgetsBundle.properties b/java/java-analysis-impl/resources/messages/InspectionGadgetsBundle.properties index 3907a17e9e22..1d2afefbd0db 100644 --- a/java/java-analysis-impl/resources/messages/InspectionGadgetsBundle.properties +++ b/java/java-analysis-impl/resources/messages/InspectionGadgetsBundle.properties @@ -2252,13 +2252,13 @@ inspection.constant.expression.fix.name=Compute constant value of ''{0}'' inspection.constant.expression.fix.name.short=Replace with constant value inspection.constant.expression.fix.name.with.value=Replace ''{0}'' with constant value ''{1}'' inspection.constant.expression.fix.family.name=Compute constant value -inspection.constant.expression.skip.non.literal=Don't report when the expression contains references to defined constants +inspection.constant.expression.skip.non.literal=Don't report expressions containing references to defined constants inspection.constant.expression.skip.non.literal.description=Ignore the expressions which contain references to non-literal operands, \ such as fields, and variables. -inspection.constant.expression.report.compile.time=Report only compile time constants +inspection.constant.expression.report.compile.time=Report only compile-time constants inspection.constant.expression.report.compile.time.description=By default, the inspection can evaluate some constants that involve \ library method calls, or even deduce the constant value based on the surrounding code. \ - Check this option to report only compile time constants, according to Java language specification. + Check this option to report only compile-time constants, according to Java language specification. inspection.redundant.compare.call.display.name=Redundant 'compare()' method call inspection.redundant.compare.call.fix.name=Inline 'compare()' call