Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 26069 invoked from network); 6 Jul 2010 02:58:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Jul 2010 02:58:46 -0000 Received: (qmail 63205 invoked by uid 500); 6 Jul 2010 02:58:46 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 63101 invoked by uid 500); 6 Jul 2010 02:58:45 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 63093 invoked by uid 99); 6 Jul 2010 02:58:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jul 2010 02:58:44 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jul 2010 02:58:42 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o662op1L012053 for ; Tue, 6 Jul 2010 02:50:51 GMT Message-ID: <29177457.208911278384651034.JavaMail.jira@thor> Date: Mon, 5 Jul 2010 22:50:51 -0400 (EDT) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Resolved: (CASSANDRA-1252) @Override annotation on implementing methods In-Reply-To: <3021410.208161278374570387.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-1252. --------------------------------------- Resolution: Not A Problem Even Josh Bloch agrees that @Override is redundant when implementing abstract or interface methods. > @Override annotation on implementing methods > -------------------------------------------- > > Key: CASSANDRA-1252 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1252 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Folke Behrens > > The current [CodeStyle|http://wiki.apache.org/cassandra/CodeStyle] states that one should "avoid redundant @Override annotations when implementing abstract or interface methods." A rationale is not given. > The @Override annotation is not redundant. When putting it on implementing methods it helps detecting abstract methods of super-classes or interfaces that were removed. This is especially important when extending abstract classes or implementing interfaces from external libraries. > Please tag every overriding method with @Override and make compiler warnings errors. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.