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 7BC0B200B48 for ; Mon, 18 Jul 2016 17:24:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7A570160A65; Mon, 18 Jul 2016 15:24:50 +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 C3075160A5D for ; Mon, 18 Jul 2016 17:24:49 +0200 (CEST) Received: (qmail 28459 invoked by uid 500); 18 Jul 2016 15:24:48 -0000 Mailing-List: contact user-help@crunch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@crunch.apache.org Delivered-To: mailing list user@crunch.apache.org Received: (qmail 28448 invoked by uid 99); 18 Jul 2016 15:24:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jul 2016 15:24:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 64F8F1A0244 for ; Mon, 18 Jul 2016 15:24:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id gCxTPdfHa5SJ for ; Mon, 18 Jul 2016 15:24:46 +0000 (UTC) Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id BF4EE5FD0E for ; Mon, 18 Jul 2016 15:24:44 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id l65so170915794oib.1 for ; Mon, 18 Jul 2016 08:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=AZ+azsj+bfa0hU3G1C7ZvG4Ozqp+5sPZgkMwhZSVvt0=; b=V7g6pVzSL8Ak2bdvCGt2joFqvGZ7tzS654J3lvODlkjniT3xfDER9orQTh4u7AajqV vVsd/fJW0oG+WxXn/VxW74Q9EEAac+MLmsvUkAjnzZoZyRN61T7AjBpCFwvdgPxVDKA2 mtDiYWNIqeAEB0VzIMfyP3B6N9qwa+rUeasGxwLqS7DRYuZT/t8lyFt3EudvQR+r5Unp 0AL4OZ8KM7sCUjq4HjofX1eXX1fLOXSZPkoq22eiqogY8fpoPZ8wwDgAnDEUyok0k9Hy JzjMRrf1M65SwKuyZno1jMJlh9QZSqyScCkZy+ew0h04WtOz7Fl/MQ59777HJN8LUwL6 pClw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=AZ+azsj+bfa0hU3G1C7ZvG4Ozqp+5sPZgkMwhZSVvt0=; b=TFl8fjk3Z8JixDn3nKr1YEltb+4C4M4uSexBhfxZMpkTDDq0vUDLiYN4Hy5FSQlkLi J7+sXngI+7bjg/MztJC0RWXKIi5/VpAh5BiiO77RvPN7hlnZTbg8KyAqRrNLm2KkTA6O jhG6Z2134/TuNIbjolIwVLR9h4MY8/u5cws+C8RUAilWnCZ530eUMZyYxvrLuVbknot7 XMEG7gGH1FlmMC0eVWu/t2zYF139XKz3CmpufZT/Uma8Q7scJLvieTZOgzcKG0xxazis SKVY3DRhm+23X3dCDHpmR1C1Gv++HlBkh9csZv0i9/0ssaX9BP64xrnMadS48YE5wz+L RdNA== X-Gm-Message-State: ALyK8tIQvuFb5Hcxzi75M79TbZO9ETcgKeUzQ9JOXLkKyC8b2usT8JPFpwrcMyCfOCE1PP75V66QTXLU3QkT2A== X-Received: by 10.157.1.242 with SMTP id e105mr18733598ote.89.1468855471461; Mon, 18 Jul 2016 08:24:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.75.204 with HTTP; Mon, 18 Jul 2016 08:24:12 -0700 (PDT) In-Reply-To: References: From: Josh Wills Date: Mon, 18 Jul 2016 08:24:12 -0700 Message-ID: Subject: Re: Should AvroReflectDeepCopier require a public ctor ? To: "user@crunch.apache.org" Content-Type: multipart/alternative; boundary=94eb2c03b5f89a5b910537ea901c archived-at: Mon, 18 Jul 2016 15:24:50 -0000 --94eb2c03b5f89a5b910537ea901c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hey Clement, I _believe_ that is a requirement of Avro reflection-based serialization, at least it was at the time we originally implemented the functionality. If that is no longer the case, we can change it. J On Mon, Jul 18, 2016 at 4:31 AM, Cl=C3=A9ment MATHIEU wrote: > Hi, > > I noticed that AvroReflectDeepCopier mandates a public no-arg ctor while > most features don't care about ctor accessibility (ie. Avro reflect / > deepCopy, ReflectionUtils etc.). > > Is there a special reason to this ? If not, it seems like a two lines fix= . > > Thanks, > Cl=C3=A9ment > --94eb2c03b5f89a5b910537ea901c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hey Clement,

I _believe_ that is a requ= irement of Avro reflection-based serialization, at least it was at the time= we originally implemented the functionality. If that is no longer the case= , we can change it.

J

On Mon, Jul 18, 2016 at 4:31 AM, Cl=C3= =A9ment MATHIEU <clement@unportant.info> wrote:
Hi,

I noticed that AvroReflectDeepCopier mandates a public no-arg ctor while mo= st features don't care about ctor accessibility (ie. Avro reflect / dee= pCopy, ReflectionUtils etc.).

Is there a special reason to this ? If not, it seems like a two lines fix.<= br>
Thanks,
Cl=C3=A9ment

--94eb2c03b5f89a5b910537ea901c--