Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 75535 invoked from network); 3 Feb 2010 11:11:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2010 11:11:49 -0000 Received: (qmail 24807 invoked by uid 500); 3 Feb 2010 11:11:49 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 24730 invoked by uid 500); 3 Feb 2010 11:11:49 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 24720 invoked by uid 99); 3 Feb 2010 11:11:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 11:11:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 11:11:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 28E7B234C1F0 for ; Wed, 3 Feb 2010 03:11:28 -0800 (PST) Message-ID: <418168568.751265195488165.JavaMail.jira@brutus.apache.org> Date: Wed, 3 Feb 2010 11:11:28 +0000 (UTC) From: =?utf-8?Q?Michael_D=C3=BCrig_=28JIRA=29?= To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-2482) Reduce number of compiler warning by adding @Override and generics where appropriate In-Reply-To: <1887866824.28541265127259345.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-2482?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D128290= 25#action_12829025 ]=20 Michael D=C3=BCrig commented on JCR-2482: ------------------------------------ If a super class (probably due to a library upgrade) removes a method which= your code overrides, without @Override your code will compile fine, just y= our method won't get called anymore. This may lead to very subtle and proba= bly hard to find bugs. With @Override your code wont compile anymore immedi= ately directing you to the problem.=20 I think the clutter of @Override is very low compared to the value added.= =20 > Reduce number of compiler warning by adding @Override and generics where = appropriate=20 > -------------------------------------------------------------------------= ------------ > > Key: JCR-2482 > URL: https://issues.apache.org/jira/browse/JCR-2482 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-jcr2spi > Affects Versions: 2.1.0 > Reporter: Michael D=C3=BCrig > Assignee: Michael D=C3=BCrig > Fix For: 2.1.0 > > > Add @Override and generics where possible to reduce the number of warning= s issued by the compiler. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.