From 94b2cdc583d14a7d57d7097200ba566eb05e32f0 Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Fri, 8 Dec 2023 13:00:39 +0100 Subject: [PATCH] Java: improve inspection description GitOrigin-RevId: 03a37941c7a8d9bcda1f307611dd982847174c5c --- .../src/inspectionDescriptions/FieldNotUsedInToString.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/java/java-impl/src/inspectionDescriptions/FieldNotUsedInToString.html b/java/java-impl/src/inspectionDescriptions/FieldNotUsedInToString.html index 1be90e594e38..5a7b02a6b559 100644 --- a/java/java-impl/src/inspectionDescriptions/FieldNotUsedInToString.html +++ b/java/java-impl/src/inspectionDescriptions/FieldNotUsedInToString.html @@ -1,9 +1,8 @@ -Reports any fields that are not used in the toString() method of a class. -

This inspection can help discover the -fields that were added after the toString() method was created and for which the toString() method was not - updated. The quick-fix regenerates the toString() method.

+Reports fields that are not used in the toString() method of a class. +

Helps discover fields added after the toString() method was last updated. + The quick-fix regenerates the toString() method.

In the Generate | toString() dialog, it is possible to exclude fields from this check. This inspection will also check for problems with getter methods if the Enable getters in code generation option is enabled there.