Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B6398184CD for ; Thu, 14 Jan 2016 10:34:10 +0000 (UTC) Received: (qmail 56961 invoked by uid 500); 14 Jan 2016 10:34:09 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 56830 invoked by uid 500); 14 Jan 2016 10:34:09 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 56818 invoked by uid 99); 14 Jan 2016 10:34:09 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2016 10:34:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A9917C2162 for ; Thu, 14 Jan 2016 10:34:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.5 X-Spam-Level: * X-Spam-Status: No, score=1.5 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, KAM_NOCONFIDENCE=0.5, RCVD_IN_MSPIKE_H2=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id bEyr3o9LZuYI for ; Thu, 14 Jan 2016 10:34:01 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 0D5F331AD0 for ; Thu, 14 Jan 2016 10:33:59 +0000 (UTC) Received: from [192.168.178.20] ([178.10.207.57]) by mrelayeu.kundenserver.de (mreue103) with ESMTPSA (Nemesis) id 0Mch4z-1aauzh34Hh-00HwV2 for ; Thu, 14 Jan 2016 11:33:52 +0100 Subject: Re: [configuration] 1.10 regression / backwards-incompatible change in MapConfiguration.convertPropertiesToMap ? To: Commons Users List References: <5692B244.3060306@oliver-heger.de> <23d5b297-ee11-47e1-baeb-587c0af4c693@email.android.com> <5694DE5E.50903@oliver-heger.de> <569629CE.6000903@oliver-heger.de> From: Oliver Heger Message-ID: <56977993.2000808@oliver-heger.de> Date: Thu, 14 Jan 2016 11:33:55 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:m/6v+F4Qb/T23d/HBmYVKqZDUfAZd+51V8WoNMZzkkCGOlc07+p E28HPxjX4oQ2+U7OGKArbKziB+Q8IrfXcCnRhGk77UYao1OK9jwZC2x+kgBZSSyKsu8z+Dj no+IwGI40t75XbUei995HTJsHwH7HJkKNbxfA9lb+AllQt//ftp0ycYzop6Zi9ynWtJYzty xwB3eD7XE3wei3yUP/e8g== X-UI-Out-Filterresults: notjunk:1;V01:K0:d4RfDTeRPvg=:RZ7tsr79pwcpDozFnSgDkL c+nSeOhG7o3iqb42PNGM0ewsG55Fejt+lwHvAs4dqhWmj/ZCaePtv9CjQkwwPZY7YzILX3vZe Bq7Wk2UdKVORmnJ0pogmVs+eup6BPKASWu9OXHWuGic7iGNzU0CWqVt7TNxKT15Di7LaI4OTk p2ChrdwgawGtBqXVlpUBdjmkTzu6+CrRLoZUeSuf6zNMY5pfJ1btYJJdC0gsxaa9Kjl9Fp+pT zlHO/TkYUNAly+M6KUQkHTCDS1tpZDBeV268OQdRkhDZ3WiKgBTphGJIbtGDPGiNHoo9/ZXcG GQxfPMCfLtxoYH4SEUUImCbmVi9h7jMBIF+biOjCBOSlEv1alCIDACHRJoZ1/hHUN2ZKEm2g2 rmq6d5e6i/YhQocnDfqyxqESBo4We/oUycVi7wmZtYfNFkQey4+zac7bg4Gl5bl/z0T3ilCmT cFSbKuUlt/1+xQqa9uuRGGLdPvudYhPzAfTKEZsdt2a1Tp2PNpb0+g08rjy5L17giL0KfhhBV 9XM9rem6TJ4YD122uKLA1A5zzIrvZVja1kS1kUzBGDYxmoqSoZKzQz+mWf12RjBZkl8iwWo1p TefIV0p2kaMwrNQ3Y8mtMcaWGhrRCMep9q7MHCTYaTxCnncdtwAbXyrNPENQucQeGZ660x+RU sY9MPDDPwP19M9UFpmLb7KxK2FMSb0H/7d/m+RB5bLXokJB1TkKTYHRqHMR2ggocktW3Ttc0g 2HF0X9ppwV9mn16u Am 13.01.2016 um 23:23 schrieb Gary Gregory: > On Wed, Jan 13, 2016 at 11:43 AM, Norbert Kiesel > wrote: > >>> Hi Norbert, >>> >>> due to lack of time, I recently only focused on Configuration 2.0 and >>> intended to let the 1.x series slowly die. Therefore, my priority is to >>> get 2.0 ready and push the release out. If I understand correctly, the >>> implementation in 2.0 satisfies your needs, except that some generic >>> types still have to be adapted (passing a Map to the >>> constructor rather than a Map). Is this correct? >> >> Yes, 2.0 satifies our need (even the current version, though I agree with >> your >> suggested type change). >> >>> >>> Patches for a 1.11 fix release are of course welcome, but I cannot >>> promise that I will be able to actually do a 1.11 release in the near >>> future. If somebody else steps up and volunteers to do this, this would >>> of course be another story. >> >> Understood. Really only trying to help here, not to produce more work for >> you >> or the community. We will simply stick with 1.9 until 2.0 is out. >> >>> >>> ... >>> >>>> >>>> The way out for a potential 1.11 would be to override more of the the >>>> AbstractMap API to make that a mutable map backed by the Properties >> object. Do >>>> you want me to provide a patch along these lines? >>> >>> This approach would probably work, but it seems like unnecessary >>> complexity. Accessing the passed in Properties object directly - as done >>> in 2.0 - is more straight-forward, isn't it? >> >> This would break backwards compatibility: 1.x promises to actively weed out >> entries with non-string keys from the passed Properties object. So anyone >> depending on this would be in for a surprise. 2.0 instead warns callers >> that they have to >> ensure that they don't pass such entries. This makes life simpler for the >> implementation >> and is IMHO very good for an API-breaking 2.x but not for 1.x. >> >> I don't want to waste anyone's time here, so unless you tell me that you >> want to see the >> revised patch or otherwise actively engage, I will shut up on this topic. >> Was a pleasure to >> talk to you and thanks for your community work! >> > > Thank you for your understanding and help. We are all volunteers short on > time. > > You might want to submit a 1.x patch in case an RM decides to push out a > release. That would grease the wheels a bit. Just in case... > > Gary Full agreement to what Gary said. Many thanks for your support and constructive feedback, Norbert! Oliver > >> >> >> >> Confidentiality Notice:This email and any files transmitted with it are >> confidential and intended solely for the use of the individual or entity to >> whom they are addressed. This message contains confidential information and >> is intended only for the individual named. If you are not the named >> addressee you should not disseminate, distribute or copy this e-mail. >> Please notify the sender immediately by e-mail if you have received this >> e-mail by mistake and delete this e-mail from your system. If you are not >> the intended recipient you are notified that disclosing, copying, >> distributing or taking any action in reliance on the contents of this >> information is strictly prohibited >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org >> For additional commands, e-mail: user-help@commons.apache.org >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org