diff --git a/resources-en/src/inspectionDescriptions/MagicConstant.html b/resources-en/src/inspectionDescriptions/MagicConstant.html index 24b12bd60aef..166afc030dfe 100644 --- a/resources-en/src/inspectionDescriptions/MagicConstant.html +++ b/resources-en/src/inspectionDescriptions/MagicConstant.html @@ -1,10 +1,19 @@ -Report occurrences where usages of "magic" constants only are allowed +Report occurrences where usages of "magic" constants are preferred but other expressions are used instead.
-E.g.
-new Font("Arial", 2 ) // not allowed
-instead of new Font("Arial", Font. ITALIC ) // OK
+E.g. + +

+ +// bare literal used, warning:
+new Font("Arial", 2)
+ +
+instead of

+ +// "magic" constant used, good:
+new Font("Arial", Font.ITALIC)