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 C495F200B6D for ; Mon, 8 Aug 2016 18:58:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C319C160AB3; Mon, 8 Aug 2016 16:58:24 +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 14014160A77 for ; Mon, 8 Aug 2016 18:58:23 +0200 (CEST) Received: (qmail 32148 invoked by uid 500); 8 Aug 2016 16:58:23 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 32137 invoked by uid 99); 8 Aug 2016 16:58:22 -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, 08 Aug 2016 16:58:22 +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 764DB1A5CBF for ; Mon, 8 Aug 2016 16:58:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.971 X-Spam-Level: X-Spam-Status: No, score=0.971 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx2-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 g6vtRt1OZVNw for ; Mon, 8 Aug 2016 16:58:20 +0000 (UTC) Received: from buffalo.birch.relay.mailchannels.net (buffalo.birch.relay.mailchannels.net [23.83.209.24]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 4CF0F5F244 for ; Mon, 8 Aug 2016 16:58:11 +0000 (UTC) X-Sender-Id: a2hosting|x-authuser|himself@orcmid.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 4AF73120953 for ; Mon, 8 Aug 2016 16:58:04 +0000 (UTC) Received: from a2s42.a2hosting.com (ip-10-27-139-41.us-west-2.compute.internal [10.27.139.41]) by relay.mailchannels.net (Postfix) with ESMTPA id 74AAB120A60 for ; Mon, 8 Aug 2016 16:58:03 +0000 (UTC) X-Sender-Id: a2hosting|x-authuser|himself@orcmid.com Received: from a2s42.a2hosting.com (a2s42.a2hosting.com [10.21.150.52]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.7.4); Mon, 08 Aug 2016 16:58:04 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|himself@orcmid.com X-MailChannels-Auth-Id: a2hosting X-MC-Loop-Signature: 1470675483725:1783314564 X-MC-Ingress-Time: 1470675483725 Received: from 174-21-114-215.tukw.qwest.net ([174.21.114.215]:32943 helo=Astraendo2) by a2s42.a2hosting.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.87) (envelope-from ) id 1bWns8-0002KY-NH for dev@commons.apache.org; Mon, 08 Aug 2016 12:57:53 -0400 Reply-To: From: "Dennis E. Hamilton" To: "'Commons Developers List'" References: <5cd5b6f2f1604f319bd4b4a85d9e6788@git.apache.org> <6ea6b3fbb1e94fe51a6901f1f0b55058@scarlet.be> <004201d1f012$c866e880$5934b980$@acm.org> <1ab96661ba80837f705e9da386ddc748@scarlet.be> <19c228d5-d936-99c7-7f4d-dbae44c38499@apache.org> <86f9d1d238a4628299947306d772fe34@scarlet.be> <49823797-81ac-312a-eb22-1b78e2d9fd2b@apache.org> <3a9e2736de8e062a95f9efb9163ea3a4@scarlet.be> In-Reply-To: <3a9e2736de8e062a95f9efb9163ea3a4@scarlet.be> Subject: RE: [5/7] [math] Fix "FastMath#round(..)" to comply to changed contract of "Math#round()" in Java 8 Date: Mon, 8 Aug 2016 09:57:48 -0700 Organization: NuovoDoc Message-ID: <00df01d1f196$01f002b0$05d00810$@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIXm0VEs5z7JOLjvextAi8R0GTilAFbusHlAjkLsUkC5VSmlQI8Um1wAu83GbUA13DajAKPdthEAavZngWfLiHcgA== Content-Language: en-us X-AuthUser: himself@orcmid.com archived-at: Mon, 08 Aug 2016 16:58:24 -0000 From the peanut gallery, in-line. > -----Original Message----- > From: Gilles [mailto:gilles@harfang.homelinux.org] > Sent: Monday, August 8, 2016 08:50 > To: dev@commons.apache.org > Subject: Re: [5/7] [math] Fix "FastMath#round(..)" to comply to = changed > contract of "Math#round()" in Java 8 >=20 > On Mon, 8 Aug 2016 16:40:04 +0200, Emmanuel Bourg wrote: > > Le 8/08/2016 =C3=A0 16:22, Gilles a =C3=A9crit : > > > >> There are pro and contra; IMO, saving a few characters is not worth > >> wondering upon reading whether "assertEquals" is from (JUnit) > >> "Assert" > >> or Commons Math "TestUtils". > > > > Seriously, there is little doubt that "assertEquals" comes from = JUnit > > in > > a FooTest class. Everybody is used to that. [orcmid]=20 It is the presumption of tacit knowledge, in an ever-expanding ring, = that complicates the on-ramp for newcomers, until they manage to gulp = down all of the kool-aid and become perpetrators themselves. =20 >=20 > My point was that there exists "TestUtils.assertEquals": also for use > in a unit test class! > Someone might want to "import static" those too. In some files > "Assert" > would be implied, and in others "TestUtils". [No big deal: just what > you gain somewhere you loose somewhere else.] [orcmid]=20 Except it is another dependency that someone has to be careful to check, = and we're not talking about small test files here. >=20 > I have no problem deciding that static import of Junit's Assert = methods > is allowed. But let's be clear that it does extend to other classes. >=20 > >> When people get accustomed to git, they won't see it as a > >> constraint, > >> rather as second nature. > > > > I'm accustomed to Git and I see this as a constraint that I don't > > have > > the time to deal with. >=20 > Hence, you assume that reviewers are either not necessary, or that > they their time is worth less than yours. >=20 > We can (have to, actually) understand that long-time committers > will take a short-cut sometimes, but whenever it happens it should > not be a massive commit. Otherwise anything goes. I hope that you > can agree that it should not be advertised as good practice. [orcmid]=20 +1 with regard to paying attention to sustainability and community. >=20 >=20 > Regards, > Gilles >=20 > > > > Emmanuel Bourg > > >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org