Return-Path: X-Original-To: apmail-zest-dev-archive@minotaur.apache.org Delivered-To: apmail-zest-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 77AC018DAF for ; Wed, 10 Jun 2015 10:24:06 +0000 (UTC) Received: (qmail 22543 invoked by uid 500); 10 Jun 2015 10:24:06 -0000 Delivered-To: apmail-zest-dev-archive@zest.apache.org Received: (qmail 22505 invoked by uid 500); 10 Jun 2015 10:24:06 -0000 Mailing-List: contact dev-help@zest.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zest.apache.org Delivered-To: mailing list dev@zest.apache.org Received: (qmail 22494 invoked by uid 99); 10 Jun 2015 10:24:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2015 10:24:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [217.70.183.195] (HELO relay3-d.mail.gandi.net) (217.70.183.195) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2015 10:21:49 +0000 Received: from mfilter36-d.gandi.net (mfilter36-d.gandi.net [217.70.178.167]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 3962EA818B for ; Wed, 10 Jun 2015 12:23:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter36-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter36-d.gandi.net (mfilter36-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id KgmIPdT3Ah0i for ; Wed, 10 Jun 2015 12:23:15 +0200 (CEST) X-Originating-IP: 82.127.126.59 Received: from parangon.home (LPuteaux-656-1-28-59.w82-127.abo.wanadoo.fr [82.127.126.59]) (Authenticated sender: paul@nosphere.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id A193AA80B5 for ; Wed, 10 Jun 2015 12:23:15 +0200 (CEST) Message-ID: <55781011.9060302@nosphere.org> Date: Wed, 10 Jun 2015 12:23:13 +0200 From: Paul Merlin User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: dev@zest.apache.org Subject: Re: Drop Prototype in ValueBuilder in 3.0?? References: In-Reply-To: X-Enigmail-Version: 1.2.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Niclas Hedhman a =C3=A9crit : > Follow up on this; > > I have now removed the Serialization code in the ValueBuilder prototype > handling, and doing a shallow clone instead. > > IMPORTANT: This means that all properties of a ValueComposite MUST BE > IMMUTABLE. Seems more than legit. > In reality, this has always been implied, for instance Collections clas= ses > in Properties are wrapped in Collections.unmodifiableXyz() calls and > Property can have ValueComposites, but regular objects are high > discouraged, although might still be supported. In 3.0, I want to remov= e > the possibility to put POJO into Property of ValueComposites and nar= row > down the exact types to support (which will all can be ensured to be > Immutable). > > This works for me, and I have merged these and a bunch of other changes > into 'develop' branch, for every to take a look. Made a quick review and all changes looks good to me. Cheers /Paul