From fcba14097e22d3c9491378d93001c03424a96a58 Mon Sep 17 00:00:00 2001 From: Pavel Dolgov Date: Fri, 12 Aug 2016 16:09:22 +0300 Subject: [PATCH] Java inspection: Renamed the inspection "Replace diamond with explicit type arguments" to a noun-based name - typo fixed. (IDEA-157727) --- .../DiamondCanBeReplacedWithExplicitTypeArguments.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/DiamondCanBeReplacedWithExplicitTypeArguments.html b/plugins/InspectionGadgets/src/inspectionDescriptions/DiamondCanBeReplacedWithExplicitTypeArguments.html index c97707684e43..43b384ab8806 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/DiamondCanBeReplacedWithExplicitTypeArguments.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/DiamondCanBeReplacedWithExplicitTypeArguments.html @@ -3,8 +3,8 @@ This inspection reports instantiation of generic classes where <> (diamond) is used instead of type parameters.

The quick fix replaces the <> (diamond) with the explicit type parameters.

Example of use of the diamond: -

List String> list = new ArrayList<>()
+
List <String> list = new ArrayList<>()

The statement above is replaced with the following: -

List String> list = new ArrayList<String>()
+
List <String> list = new ArrayList<String>()
\ No newline at end of file