cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jburwell <...@git.apache.org>
Subject [GitHub] cloudstack pull request: Vmdk findbugs
Date Fri, 06 May 2016 02:29:26 GMT
Github user jburwell commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1530#discussion_r62282582
  
    --- Diff: vmware-base/src/com/cloud/hypervisor/vmware/mo/VmdkFileDescriptor.java ---
    @@ -216,10 +226,12 @@ public String getAdapterType() {
                     }
                 }
             } finally {
    -            if (in != null)
    +            if (in != null) {
    --- End diff --
    
    While I know it not in scope of the PR, would it be possible to convert the try block
into a try with resources? It would remove the need for this finally clause.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message