ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgl...@apache.org
Subject svn commit: r1373836 - /ant/core/trunk/src/main/org/apache/tools/ant/util/DeweyDecimal.java
Date Thu, 16 Aug 2012 13:53:07 GMT
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;



Mime
View raw message