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 3A00BD5F9 for ; Wed, 6 Mar 2013 09:14:54 +0000 (UTC) Received: (qmail 80122 invoked by uid 500); 6 Mar 2013 09:14:53 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 79944 invoked by uid 500); 6 Mar 2013 09:14:53 -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 79925 invoked by uid 99); 6 Mar 2013 09:14:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 09:14:52 +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 (athena.apache.org: domain of sebbaz@gmail.com designates 74.125.82.170 as permitted sender) Received: from [74.125.82.170] (HELO mail-we0-f170.google.com) (74.125.82.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 09:14:48 +0000 Received: by mail-we0-f170.google.com with SMTP id z53so7990716wey.1 for ; Wed, 06 Mar 2013 01:14:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=wK3an0A0gf9u094XeGjO4I562lzYRwTX3ei0A4g3myw=; b=T5VKO71p3wZW2T2FRvryyjJFgyp+qHfDaGenD2OE8Rc7Ij+QeesgtaF7mxSpnjNiAv +b4Th3MY3jYIX3Aysh+mmZdL+w//k4O4yvT8Qkl4DUXbfTp8rxk2bmjdbpcUFlPbKER5 X7rlCiy3T9gLPhSc3kBt9pKcW+9sfu8OVqxmfwhIJbLJ6Xy71oSiwLm4oE2dfcHto0/W Y5tkxlZMXOGB7AfiWpNdzkR2CK4W3l07JyjizKtDR+h85LI5Y6RFO7UcNvKdTtjR2Huw 6dHJLjKXDm6k8E1l3RQKearrgaB478rpag7oUDhRsb739sp+s8Ou3YQRPgwcVpBG/hfo 5VCQ== MIME-Version: 1.0 X-Received: by 10.180.183.142 with SMTP id em14mr13384231wic.14.1362561267313; Wed, 06 Mar 2013 01:14:27 -0800 (PST) Received: by 10.194.61.236 with HTTP; Wed, 6 Mar 2013 01:14:27 -0800 (PST) In-Reply-To: References: Date: Wed, 6 Mar 2013 09:14:27 +0000 Message-ID: Subject: Re: [fileupload] Uploading large files - DONE From: sebb To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On 6 March 2013 08:53, Simone Tripodi wrote: >>> Is there anybody that can suggest how to handle that situation? >> >> Create new methods which return long rather than int; deprecate the old methods. >> >> e.g. >> >> @Deprecated >> public int getContentLength() { ... } >> >> /** >> * @since x.x >> */ >> >> public long getLongContentLength() { ... } >> or >> public long getContentLengthLong() { ... } >> or >> public long longContentLength() { ... } > > that should be enough to bump to 1.3.0 since there are APIs addition - > do you agree? Yes, except it should be 1.3, not 1.3.0. If a point release is then required, it is 1.3.1, but point releases are fairly rare. > -Simo > > http://people.apache.org/~simonetripodi/ > http://simonetripodi.livejournal.com/ > http://twitter.com/simonetripodi > http://www.99soft.org/ > > --------------------------------------------------------------------- > 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