[ 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: main (10.0) > 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) > > 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: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org