Return-Path: X-Original-To: apmail-poi-dev-archive@www.apache.org Delivered-To: apmail-poi-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 E65EED7E6 for ; Sun, 12 Aug 2012 10:20:29 +0000 (UTC) Received: (qmail 2401 invoked by uid 500); 12 Aug 2012 10:20:29 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 2319 invoked by uid 500); 12 Aug 2012 10:20:29 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 2280 invoked by uid 99); 12 Aug 2012 10:20:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Aug 2012 10:20:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Aug 2012 10:20:24 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id D41DD50DF; Sun, 12 Aug 2012 10:20:03 +0000 (UTC) From: bugzilla@apache.org To: dev@poi.apache.org Subject: [Bug 53625] setters should return "this" rather than void Date: Sun, 12 Aug 2012 10:20:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: POI X-Bugzilla-Component: POI Overall X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yegor@dinom.ru X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@poi.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=53625 Yegor Kozlov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Yegor Kozlov --- Unfortunately we cannot change setters to return "this" becasue POI must be binary-compatible wuth existing code. If we make this change then the old code would work ONLY if you re-compile it against the latest build of POI. If you simply change the return type and replace the POI jar then Java will not be able to find the new methods and throw NoSuchMethodError. Yegor -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org