[
https://issues.apache.org/jira/browse/SOLR-16732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Risden updated SOLR-16732:
--------------------------------
Fix Version/s: 9.3
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Misc SonarQube findings
> -----------------------
>
> Key: SOLR-16732
> URL: https://issues.apache.org/jira/browse/SOLR-16732
> Project: Solr
> Issue Type: Task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Kevin Risden
> Assignee: Kevin Risden
> Priority: Minor
> Fix For: main (10.0), 9.3
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> I have been running SonarQube against the Solr project and there are some low
> hanging fruit things that can be addressed
> * String non regex replaceAll with replace
> * indexOf -> contains
> * NBSP in log
> * unindented if statements missing {}
> * Use && instead of & for boolean comparisons
> * Replace "".equals with isEmpty
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]