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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---