diff --git a/java/java-impl/resources/inspectionDescriptions/DiamondCanBeReplacedWithExplicitTypeArguments.html b/java/java-impl/resources/inspectionDescriptions/DiamondCanBeReplacedWithExplicitTypeArguments.html index 81c00790d82f..fd3cc5465116 100644 --- a/java/java-impl/resources/inspectionDescriptions/DiamondCanBeReplacedWithExplicitTypeArguments.html +++ b/java/java-impl/resources/inspectionDescriptions/DiamondCanBeReplacedWithExplicitTypeArguments.html @@ -5,9 +5,9 @@ Reports instantiation of generic classes in which the <> symbol (di

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

Example:

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

After the quick-fix is applied:

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

Diamond operation appeared in Java 7.