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 4F349D1B4 for ; Mon, 6 Aug 2012 20:41:57 +0000 (UTC) Received: (qmail 18339 invoked by uid 500); 6 Aug 2012 20:41:56 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 18247 invoked by uid 500); 6 Aug 2012 20:41:56 -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 18238 invoked by uid 99); 6 Aug 2012 20:41:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2012 20:41:56 +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 thomas.neidhart@gmail.com designates 209.85.212.177 as permitted sender) Received: from [209.85.212.177] (HELO mail-wi0-f177.google.com) (209.85.212.177) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2012 20:41:48 +0000 Received: by wibhm11 with SMTP id hm11so1920366wib.6 for ; Mon, 06 Aug 2012 13:41:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=xGFkFF/I6YOFUflVShriqDD5HJdlRX0OWsWzCDcHqwA=; b=gUVwS+5WV225UhOqr9/4DsDpFLsnUwrJ428i1TcK1aTezDzX5Kb5AewmHYzVSH4ZHR SSM76ulhckSApfFUkDDvklSL5qpZHzAK6rFWVvmEEOGrcpxOnKU71m8zvk8HRXlRSDXp V2cXNBGl85v9yf3Le/U4Oz4G7/3QJT1PdcyfecKFg8VhmyMyD9XD3LbMLZKuGNKbIe1z 8MU566EEgzrzUrCYINFH0Oebbkv3uW1fJL85T9CIw2RKNkHHZqApCa4CUJeOyvvq64H1 7z5r4ru2eUoIoAvAnpDTGGk+9UYbs3y1EUiq53muv/eiBSnaOkmXIfH/NnVg10ZX7pz0 NZhQ== Received: by 10.180.106.137 with SMTP id gu9mr21317802wib.20.1344285688295; Mon, 06 Aug 2012 13:41:28 -0700 (PDT) Received: from [192.168.1.2] (ip-81-11-239-57.dsl.scarlet.be. [81.11.239.57]) by mx.google.com with ESMTPS id fr4sm25671073wib.8.2012.08.06.13.41.27 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Aug 2012 13:41:27 -0700 (PDT) Message-ID: <50202BF6.2090507@gmail.com> Date: Mon, 06 Aug 2012 22:41:26 +0200 From: Thomas Neidhart User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: dev@commons.apache.org Subject: Re: Fwd: svn commit: r1369931 - in /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections: keyvalue/ list/ References: <3710293.FeXhuDX6Eq@floh> In-Reply-To: <3710293.FeXhuDX6Eq@floh> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit On 08/06/2012 10:00 PM, J�rg Schaible wrote: > > =================== %< ========================== > > Betreff: svn commit: r1369931 - in > /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections: > keyvalue/ list/ > Absender: tn-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org > Datum: Mon, 06 Aug 2012 19:21:30 +0000 > Newsgruppe: gmane.comp.jakarta.commons.scm > > Author: tn > Date: Mon Aug 6 19:21:29 2012 > New Revision: 1369931 > > URL: http://svn.apache.org/viewvc?rev=1369931&view=rev > Log: > Checkstyle fixes. > > [snip] > > @@ -55,14 +55,18 @@ public abstract class AbstractMapEntryDe > } > > //----------------------------------------------------------------------- > + > + /** {@inheritDoc} */ > public K getKey() { > return entry.getKey(); > } > > + /** {@inheritDoc} */ > public V getValue() { > return entry.getValue(); > } > > + /** {@inheritDoc} */ > public V setValue(V object) { > return entry.setValue(object); > } > =================== %< ========================== > > Geeez, what's that for an annoying change? Since Java 5 this is already the > default for Javadoc when overwriting/implementing methods, so adding a Javdoc > comment with a single @inheritDoc is completely superfluous and adds simply > clutter! > > Can we stop Checkstyle complaining about it and revert these lines again? If you have a better solution, I am really willing to include it. My suggestion to go for java 6 source compatibility to be able to use @Override tags was so far objected. Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org