cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From remibergsma <...@git.apache.org>
Subject [GitHub] cloudstack pull request #1934: [CLOUDSTACK-9772] Template: perform a HEAD re...
Date Sun, 12 Feb 2017 20:10:43 GMT
Github user remibergsma commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1934#discussion_r100702832
  
    --- Diff: utils/src/main/java/com/cloud/utils/UriUtils.java ---
    @@ -200,37 +198,27 @@ public static String getUpdateUri(String url, boolean encrypt) {
         }
     
         // Get the size of a file from URL response header.
    -    public static Long getRemoteSize(String url) {
    -        Long remoteSize = (long)0;
    +    public static long getRemoteSize(String url) {
    --- End diff --
    
    @marcaurele I think this needs to be changed back to Long, or else the method cannot be
found as it is called with type Long.


---
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