You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below is another example of what our java code remediation solution has detected in the project's source code. In this case there are 99 violations of the Sonar rule S1155 "Collection.isEmpty()" should be used to test for emptiness".
Below is an example of how our Indepth solution could fix the problem (https://www.indepth.fr)
For your information, using Indepth is free for all Opensource projects.
com\eviware\soapui\ui\navigator\state\NavigatorNodesExpandStateEngine.java@@ -83,5 +83,5@@privateNavigatorNodesExpandStateProvidergetNavigatorNodesExpandStateProvider() {
List<NavigatroNodeExpandStateProviderFactory> stateProviderFactoryList = SoapUI.getFactoryRegistry().getFactories(NavigatroNodeExpandStateProviderFactory.class);
- if (stateProviderFactoryList.size() == 0) {
+ if (stateProviderFactoryList.isEmpty()) {
returnnull;
}
The text was updated successfully, but these errors were encountered:
Below is another example of what our java code remediation solution has detected in the project's source code. In this case there are 99 violations of the Sonar rule S1155 "Collection.isEmpty()" should be used to test for emptiness".
Below is an example of how our Indepth solution could fix the problem (https://www.indepth.fr)
For your information, using Indepth is free for all Opensource projects.
The text was updated successfully, but these errors were encountered: