Browse Source

JDK 5 javac is apparently buggy; @Override should be allowed on methods implemented from an interface.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1373836 13f79535-47bb-0310-9956-ffa450edef68
master
Jesse N. Glick 13 years ago
parent
commit
5f3fe87dea
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/util/DeweyDecimal.java

+ 1
- 1
src/main/org/apache/tools/ant/util/DeweyDecimal.java View File

@@ -207,7 +207,7 @@ public class DeweyDecimal implements Comparable<DeweyDecimal> {
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;


Loading…
Cancel
Save