diff options
Diffstat (limited to 'plugins/InspectionGadgets/src/inspectionDescriptions/CStyleArrayDeclaration.html')
-rw-r--r-- | plugins/InspectionGadgets/src/inspectionDescriptions/CStyleArrayDeclaration.html | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CStyleArrayDeclaration.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CStyleArrayDeclaration.html index 6b8f3ff43b2a..7320abc37f19 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CStyleArrayDeclaration.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CStyleArrayDeclaration.html @@ -1,9 +1,18 @@ <html> <body> -Reports array declarations made using C-style syntax, with the array indicator attached to the variable, -rather than Java-style syntax, with the array indicator attached to the type. +Reports array declarations made using C-style syntax, +with the array indicator brackets positioned after the variable name or after the method parameter list. +For example: +<code><pre> + <b>public</b> String process(String value[])[] { + return value; + } +</pre></code> +Most code styles prefer Java-style array declarations, with the array indicator brackets attached to the type name. <!-- tooltip end --> <p> +Use the checkbox below to only report C-style array declaration of method return types. +<p> </body> </html>
\ No newline at end of file |