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 B6B1A200D34 for ; Fri, 3 Nov 2017 13:01:19 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B53A6160BFB; Fri, 3 Nov 2017 12:01:19 +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 F2EF1160BE9 for ; Fri, 3 Nov 2017 13:01:18 +0100 (CET) Received: (qmail 86193 invoked by uid 500); 3 Nov 2017 12:01:18 -0000 Mailing-List: contact commits-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 commits@cloudstack.apache.org Received: (qmail 86184 invoked by uid 99); 3 Nov 2017 12:01:18 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2017 12:01:18 +0000 From: GitBox To: commits@cloudstack.apache.org Subject: [GitHub] DaanHoogland commented on a change in pull request #2290: WIP: add track id to async api calls Message-ID: <150971047760.1091.18441531706277151781.gitbox@gitbox.apache.org> archived-at: Fri, 03 Nov 2017 12:01:19 -0000 DaanHoogland commented on a change in pull request #2290: WIP: add track id to async api calls URL: https://github.com/apache/cloudstack/pull/2290#discussion_r148764980 ########## File path: server/src/com/cloud/api/ApiServer.java ########## @@ -540,7 +540,7 @@ public String handleRequest(final Map params, final String responseType, final S throw new CloudRuntimeException("No APICommand annotation found for class " + cmdClass.getCanonicalName()); } - BaseCmd cmdObj = (BaseCmd)cmdClass.newInstance(); + BaseCmd cmdObj = (BaseCmd)cmdClass.getConstructor(cmdClass).newInstance(); Review comment: it is deprecated in version 9. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services