----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15508/#review29161 -----------------------------------------------------------
plugins/network-elements/juniper-contrail/src/org/apache/cloudstack/network/contrail/management/ManagementNetworkGuru.java <https://reviews.apache.org/r/15508/#comment56300> I'm giving a demo, ignore this - Hugo Trippaers On Nov. 14, 2013, 8:03 a.m., Wilder Rodrigues wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/15508/ > ----------------------------------------------------------- > > (Updated Nov. 14, 2013, 8:03 a.m.) > > > Review request for cloudstack and Hugo Trippaers. > > > Repository: cloudstack-git > > > Description > ------- > > Make sure that if the file does not exist an Exception is thrown and that > once it exists it is also closed after the properties are loaded. > > fix for Coverity bug cv_1125364 Resource leak > The system resource will not be reclaimed and reused, reducing the future > availability of the resource. > In > org.?apache.?cloudstack.?network.?contrail.?management.?ManagementNetworkGuru.?configure(java.?lang.?String, > java.?util.?Map): Leak of a system resource (CWE-404) > > > Diffs > ----- > > > plugins/network-elements/juniper-contrail/src/org/apache/cloudstack/network/contrail/management/ManagementNetworkGuru.java > e457023 > > Diff: https://reviews.apache.org/r/15508/diff/ > > > Testing > ------- > > A test branch was created, the patch was applied against the branch and a > full build was executed. Everything is working fine. The class changed is > tested by MockLocalNfsSecondaryStorageResource. > > > Thanks, > > Wilder Rodrigues > >