Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 38E27D01F for ; Mon, 9 Jul 2012 07:26:45 +0000 (UTC) Received: (qmail 14073 invoked by uid 500); 9 Jul 2012 07:26:44 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 13654 invoked by uid 500); 9 Jul 2012 07:26:44 -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 13613 invoked by uid 99); 9 Jul 2012 07:26:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2012 07:26:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of beneritter@gmail.com designates 209.85.213.171 as permitted sender) Received: from [209.85.213.171] (HELO mail-yx0-f171.google.com) (209.85.213.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2012 07:26:37 +0000 Received: by yenq11 with SMTP id q11so13387027yen.30 for ; Mon, 09 Jul 2012 00:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=GQOQV622VedOLjD4sAs32csgKzDOtDFalevJ0b1SLo4=; b=c8dKH4Wr9jHTR6yuApW34mbfQySPj2OcgtZguD+rkHVncfC6LHpyX4cemM8idNE2gj 0hKUm0BdYN6BDc1Ynk32A4lNYWoq2P6X5pScFr6ca4dWc1zBll0lRGVqOGfL6HM47dIc btOBSkRohxXCp2ksEfab1WMpE3ljYcyG2JKtPJX7BuzIIhLm/anQcdoaLl72GidFUZWF RFHGXr6wBc8abKoq/9SKaVgZ01rCdBPnE/Sp/gF6f7TBzm4jcDDg2WXydaA19zyZgFWH eTr3RTZrh4tq/7kjeqHjIiRbH+V4GJr1NQmRlve62rIM8JFd38zHyeHcvHSXj/2SxEeN jVdw== MIME-Version: 1.0 Received: by 10.50.6.229 with SMTP id e5mr7800753iga.9.1341818776237; Mon, 09 Jul 2012 00:26:16 -0700 (PDT) Received: by 10.64.28.242 with HTTP; Mon, 9 Jul 2012 00:26:16 -0700 (PDT) In-Reply-To: References: Date: Mon, 9 Jul 2012 09:26:16 +0200 Message-ID: Subject: Re: [all] Does this break binary compatibility? From: Benedikt Ritter To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Sebastien, have a look at: http://wiki.eclipse.org/Evolving_Java-based_APIs http://wiki.eclipse.org/Evolving_Java-based_APIs_2 http://wiki.eclipse.org/Evolving_Java-based_APIs_3 In section Evolving API classes - API methods and constructors it says: Change result type (including void) - Breaks compatibility Can anyone verify that? Regards, Benedikt 2012/7/9 S=E9bastien Brisard : > All, > in Commons-Math, class RealVector has a method unitize() which divides > each component of this by the norm. The vector is changed in place. > The current signature of this method is > public void unitize() > > Most methods in class RealVector implement a fluent API. I would like > unitize() to follow the same paradigm. In other words, I would like to > change the signature to > public RealVector unitize() > this method now returning this. > > Question is: does this break binary compatibility? Although clirr > reports an error, I fail to see how this change can cause any problem. > > Thanks in advance for your advice, > S=E9bastien > > > --------------------------------------------------------------------- > 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