Return-Path: X-Original-To: apmail-ant-notifications-archive@minotaur.apache.org Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3DFCF9E87 for ; Thu, 16 Aug 2012 13:53:52 +0000 (UTC) Received: (qmail 1007 invoked by uid 500); 16 Aug 2012 13:53:52 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 976 invoked by uid 500); 16 Aug 2012 13:53:52 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 969 invoked by uid 99); 16 Aug 2012 13:53:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2012 13:53:52 +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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2012 13:53:51 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 0D09223888FD for ; Thu, 16 Aug 2012 13:53:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1373836 - /ant/core/trunk/src/main/org/apache/tools/ant/util/DeweyDecimal.java Date: Thu, 16 Aug 2012 13:53:07 -0000 To: notifications@ant.apache.org From: jglick@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120816135308.0D09223888FD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jglick Date: Thu Aug 16 13:53:07 2012 New Revision: 1373836 URL: http://svn.apache.org/viewvc?rev=1373836&view=rev Log: JDK 5 javac is apparently buggy; @Override should be allowed on methods implemented from an interface. Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/DeweyDecimal.java Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/DeweyDecimal.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/DeweyDecimal.java?rev=1373836&r1=1373835&r2=1373836&view=diff ============================================================================== --- ant/core/trunk/src/main/org/apache/tools/ant/util/DeweyDecimal.java (original) +++ ant/core/trunk/src/main/org/apache/tools/ant/util/DeweyDecimal.java Thu Aug 16 13:53:07 2012 @@ -207,7 +207,7 @@ public class DeweyDecimal implements Com return sb.toString(); } - @Override public int compareTo(DeweyDecimal other) { + public int compareTo(DeweyDecimal other) { final int max = Math.max(other.components.length, components.length); for (int i = 0; i < max; i++) { final int component1 = (i < components.length) ? components[ i ] : 0;