Troubleshooting of SonarQube issue: Difference between revisions
Jump to navigation
Jump to search
Troubleshooting of SonarQube issue (edit)
Revision as of 16:18, 12 September 2023
, 12 September 2023→How to resolve "Define and throw a dedicated exception instead of using a generic one"
| Line 69: | Line 69: | ||
} | } | ||
</pre> | </pre> | ||
== How to resolve "Method visibility should be explicitly declared" == | |||
Possible solution | |||
* Use a text editor that supports [[Regular expression | regular expressions]] | |||
* Find: {{kbd | key=<nowiki>^(\s+)(function)(\s)</nowiki>}} | |||
* Replace with: {{kbd | key=<nowiki>$1public function$3</nowiki>}} | |||
== How to resolve "replace all tab characters in this file by sequences of white-spaces (Tabulation characters should not be used)" == | == How to resolve "replace all tab characters in this file by sequences of white-spaces (Tabulation characters should not be used)" == | ||