Hi,
Please find the latest report on new defect(s) introduced to cloudstack found
with Coverity Scan.
2 new defect(s) introduced to cloudstack found with Coverity Scan.
9 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent
build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)
** CID 1308939: FindBugs: Bad practice (FB.NP_BOOLEAN_RETURN_NULL)
/api/src/org/apache/cloudstack/api/command/user/template/UpdateTemplateCmd.java:
43 in
org.apache.cloudstack.api.command.user.template.UpdateTemplateCmd.getBootable()()
________________________________________________________________________________________________________
*** CID 1308939: FindBugs: Bad practice (FB.NP_BOOLEAN_RETURN_NULL)
/api/src/org/apache/cloudstack/api/command/user/template/UpdateTemplateCmd.java:
43 in
org.apache.cloudstack.api.command.user.template.UpdateTemplateCmd.getBootable()()
37 /////////////////////////////////////////////////////
38 /////////////////// Accessors ///////////////////////
39 /////////////////////////////////////////////////////
40
41 @Override
42 public Boolean getBootable() {
>>> CID 1308939: FindBugs: Bad practice (FB.NP_BOOLEAN_RETURN_NULL)
>>>
>>> org.apache.cloudstack.api.command.user.template.UpdateTemplateCmd.getBootable()
>>> has Boolean return type and returns explicit null
43 return null;
44 }
45
46 /////////////////////////////////////////////////////
47 /////////////// API Implementation///////////////////
48 /////////////////////////////////////////////////////
** CID 1308940: FindBugs: Bad practice (FB.NP_BOOLEAN_RETURN_NULL)
/api/src/org/apache/cloudstack/api/command/user/iso/UpdateIsoCmd.java: 48 in
org.apache.cloudstack.api.command.user.iso.UpdateIsoCmd.getPasswordEnabled()()
________________________________________________________________________________________________________
*** CID 1308940: FindBugs: Bad practice (FB.NP_BOOLEAN_RETURN_NULL)
/api/src/org/apache/cloudstack/api/command/user/iso/UpdateIsoCmd.java: 48 in
org.apache.cloudstack.api.command.user.iso.UpdateIsoCmd.getPasswordEnabled()()
42 public Boolean getRequiresHvm() {
43 return null;
44 }
45
46 @Override
47 public Boolean getPasswordEnabled() {
>>> CID 1308940: FindBugs: Bad practice (FB.NP_BOOLEAN_RETURN_NULL)
>>>
>>> org.apache.cloudstack.api.command.user.iso.UpdateIsoCmd.getPasswordEnabled()
>>> has Boolean return type and returns explicit null
48 return null;
49 }
50
51 @Override
52 public String getFormat() {
53 return null;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://scan.coverity.com/projects/943?tab=overview
To manage Coverity Scan email notifications for "[email protected]",
click
https://scan.coverity.com/subscriptions/edit?email=dev%40cloudstack.apache.org&token=494aabd5ba647999fa41b6d766646231