Fix KvmFileBasedStorageVmSnapshotStrategy unit test failures - #14135
Quality Gate failed
Failed conditions
E Maintainability Rating on New Code (required ≥ B)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
sonarqubecloud / SonarCloud Code Analysis
Use static access with "org.apache.commons.lang3.StringUtils" for "isNotBlank".
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaCMflqZiGrYjGtJQG-p&open=AaCMflqZiGrYjGtJQG-p&pullRequest=14135
sonarqubecloud / SonarCloud Code Analysis
Remove this field injection and use constructor injection instead.
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaCMflqZiGrYjGtJQG-m&open=AaCMflqZiGrYjGtJQG-m&pullRequest=14135
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "delete" 3 times.
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaCMflqZiGrYjGtJQG-k&open=AaCMflqZiGrYjGtJQG-k&pullRequest=14135
sonarqubecloud / SonarCloud Code Analysis
Use static access with "org.apache.commons.lang3.StringUtils" for "isBlank".
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaCMflqZiGrYjGtJQG-s&open=AaCMflqZiGrYjGtJQG-s&pullRequest=14135
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "create" 3 times.
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaCMflqZiGrYjGtJQG-j&open=AaCMflqZiGrYjGtJQG-j&pullRequest=14135
sonarqubecloud / SonarCloud Code Analysis
Remove this field injection and use constructor injection instead.
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaCMflqZiGrYjGtJQG-n&open=AaCMflqZiGrYjGtJQG-n&pullRequest=14135
sonarqubecloud / SonarCloud Code Analysis
Use static access with "org.apache.commons.lang3.StringUtils" for "isBlank".
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaCMflqZiGrYjGtJQG-q&open=AaCMflqZiGrYjGtJQG-q&pullRequest=14135
sonarqubecloud / SonarCloud Code Analysis
Use static access with "org.apache.commons.lang3.StringUtils" for "isBlank".
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaCMflqZiGrYjGtJQG-o&open=AaCMflqZiGrYjGtJQG-o&pullRequest=14135
sonarqubecloud / SonarCloud Code Analysis
Remove this field injection and use constructor injection instead.
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaCMflqZiGrYjGtJQG-l&open=AaCMflqZiGrYjGtJQG-l&pullRequest=14135
sonarqubecloud / SonarCloud Code Analysis
Use static access with "org.apache.cloudstack.alert.AlertService" for "AlertType".
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaCMflqZiGrYjGtJQG-t&open=AaCMflqZiGrYjGtJQG-t&pullRequest=14135
sonarqubecloud / SonarCloud Code Analysis
Use static access with "org.apache.commons.lang3.StringUtils" for "isBlank".
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaCMflqZiGrYjGtJQG-r&open=AaCMflqZiGrYjGtJQG-r&pullRequest=14135
sonarqubecloud / SonarCloud Code Analysis
Use a static import for "spy".
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaCMflu3iGrYjGtJQG-u&open=AaCMflu3iGrYjGtJQG-u&pullRequest=14135