From bd24e716a3b770165d13ee278bc29c9bfd6b7f16 Mon Sep 17 00:00:00 2001 From: Tagir Valeev Date: Mon, 3 Aug 2020 14:50:00 +0700 Subject: [PATCH] RecordCanBeClass description updated according to review GitOrigin-RevId: 9496ae38a791b5e835decb3881eb0efd9cb7bd87 --- .../RecordCanBeClass.html | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/java/java-impl/src/inspectionDescriptions/RecordCanBeClass.html b/java/java-impl/src/inspectionDescriptions/RecordCanBeClass.html index b4214698f7e3..b71913e6d3cb 100644 --- a/java/java-impl/src/inspectionDescriptions/RecordCanBeClass.html +++ b/java/java-impl/src/inspectionDescriptions/RecordCanBeClass.html @@ -1,19 +1,18 @@ -Reports all Java records suggesting to desugar them to the ordinary classes. -This inspection could be useful if you need to move Java record to the code base -that uses older Java version where records are not supported. +Suggests to replace records with ordinary classes. +The inspection could be useful if you need to move Java record +to codebases that use earlier Java versions.

- Note that the resulting class is not completely equivalent to the original record. - In particular: + Note that the resulting class is not completely equivalent to the original record:

Example:

@@ -61,7 +60,7 @@ This record will be converted to } } -

This inspection only reports if the configured language level is 14 Preview or 15 Preview.

+

This inspection only applies to language level 14 preview and 15 preview.

New in 2020.3

\ No newline at end of file