Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0A6B1200C19 for ; Sun, 12 Feb 2017 21:10:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 09088160B6E; Sun, 12 Feb 2017 20:10:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 48AB5160B51 for ; Sun, 12 Feb 2017 21:10:45 +0100 (CET) Received: (qmail 39525 invoked by uid 500); 12 Feb 2017 20:10:44 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 39514 invoked by uid 99); 12 Feb 2017 20:10:44 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Feb 2017 20:10:44 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E808FDFD73; Sun, 12 Feb 2017 20:10:43 +0000 (UTC) From: remibergsma To: dev@cloudstack.apache.org Reply-To: dev@cloudstack.apache.org References: In-Reply-To: Subject: [GitHub] cloudstack pull request #1934: [CLOUDSTACK-9772] Template: perform a HEAD re... Content-Type: text/plain Message-Id: <20170212201043.E808FDFD73@git1-us-west.apache.org> Date: Sun, 12 Feb 2017 20:10:43 +0000 (UTC) archived-at: Sun, 12 Feb 2017 20:10:46 -0000 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. ---