-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/23226/
-----------------------------------------------------------
(Updated July 4, 2014, 9:07 a.m.)
Review request for cloudstack, Abhinandan Prateek and daan Hoogland.
Changes
-------
Added try-with-resource and other misc fixes for coverity.
Bugs: coverity
https://issues.apache.org/jira/browse/coverity
Repository: cloudstack-git
Description
-------
Fixed resource leaks, null dererence issues, performance issues and bugs
reported by coverity. Simple bug in generic dao was found during these changes,
fixed that as well.
Diffs (updated)
-----
engine/schema/src/com/cloud/dc/dao/VlanDaoImpl.java a38a96e
engine/schema/src/com/cloud/storage/dao/StoragePoolWorkDaoImpl.java c6e1b74
engine/schema/src/com/cloud/upgrade/DatabaseCreator.java b04607d
engine/schema/src/com/cloud/usage/dao/UsageIPAddressDaoImpl.java 17d5dc8
engine/schema/src/com/cloud/usage/dao/UsageLoadBalancerPolicyDaoImpl.java
c868ac0
engine/schema/src/com/cloud/usage/dao/UsageNetworkOfferingDaoImpl.java
f27fd60
engine/schema/src/com/cloud/usage/dao/UsagePortForwardingRuleDaoImpl.java
803288a
engine/schema/src/com/cloud/usage/dao/UsageSecurityGroupDaoImpl.java 0fc2ce0
engine/schema/src/com/cloud/usage/dao/UsageStorageDaoImpl.java 77fc56f
engine/schema/src/com/cloud/usage/dao/UsageVPNUserDaoImpl.java 64d3ecd
engine/schema/src/com/cloud/usage/dao/UsageVolumeDaoImpl.java 7bf058c
engine/schema/src/org/apache/cloudstack/storage/datastore/db/PrimaryDataStoreDaoImpl.java
92793f1
engine/storage/cache/src/org/apache/cloudstack/storage/cache/allocator/StorageCacheRandomAllocator.java
b4ef595
engine/storage/src/org/apache/cloudstack/storage/volume/datastore/PrimaryDataStoreHelper.java
6b12975
framework/cluster/src/com/cloud/cluster/dao/ManagementServerHostDaoImpl.java
3d0c3f5
framework/db/src/com/cloud/utils/db/DbUtil.java 792573c
framework/db/src/com/cloud/utils/db/GenericDaoBase.java 2052aad
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
e684b8d
plugins/storage/volume/sample/src/org/apache/cloudstack/storage/datastore/lifecycle/SamplePrimaryDataStoreLifeCycleImpl.java
579cc24
server/src/com/cloud/storage/VolumeApiServiceImpl.java a557c0e
server/src/com/cloud/tags/TaggedResourceManagerImpl.java b77c55e
server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java e085b8d
Diff: https://reviews.apache.org/r/23226/diff/
Testing
-------
Built the management server, ran the simulator and deployed dc.
Thanks,
Santhosh Edukulla