> On June 11, 2014, 4:17 a.m., Rajani Karuturi wrote:
> > framework/db/src/com/cloud/utils/db/TransactionLegacy.java, line 798
> > <https://reviews.apache.org/r/22356/diff/2/?file=606369#file606369line798>
> >
> >     string values compared using '==' and not equals()
> >     
> >     There are many such instances in the file which does == for type which 
> > is a string. It may be a good idea to fix them all to use equals.

As mentioned, there are many such places of ref comparison used, instead of 
value comparison. We can take these up in separate patch. This patch 
concentrates already on few fixes reported as coverity issues case by case 
basis and few additional fixes. We can take the issue mentioned here in 
separate patch 


- Santhosh


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22356/#review45330
-----------------------------------------------------------


On June 10, 2014, 4:43 a.m., Santhosh Edukulla wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/22356/
> -----------------------------------------------------------
> 
> (Updated June 10, 2014, 4:43 a.m.)
> 
> 
> Review request for cloudstack and daan Hoogland.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> Fixed few coverity issues reported for resource leak, value comparison, 
> invalid loop check for result set.
> 
> 
> Diffs
> -----
> 
>   engine/schema/src/com/cloud/upgrade/DatabaseCreator.java 91ef318 
>   engine/schema/src/com/cloud/upgrade/DatabaseIntegrityChecker.java c20a418 
>   engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java 0761c9f 
>   framework/db/src/com/cloud/utils/crypt/EncryptionSecretKeyChanger.java 
> 58584f9 
>   framework/db/src/com/cloud/utils/db/Merovingian2.java 6eeea9f 
>   framework/db/src/com/cloud/utils/db/ScriptRunner.java 6614527 
>   framework/db/src/com/cloud/utils/db/TransactionLegacy.java ac0ea21 
>   server/src/com/cloud/test/IPRangeConfig.java 1d56471 
>   usage/src/com/cloud/usage/UsageSanityChecker.java 5e6123b 
>   utils/src/com/cloud/utils/crypt/EncryptionSecretKeySender.java 086e8a8 
> 
> Diff: https://reviews.apache.org/r/22356/diff/
> 
> 
> Testing
> -------
> 
> 1.Built the code and found no issues.
> 2.Built the simulator and ran a deploy datacenter with the changes.
> 
> 
> Thanks,
> 
> Santhosh Edukulla
> 
>

Reply via email to