Skip to content
Browse files

@Override rejected here by JDK 5 javac and ecj.

  • Loading branch information...
1 parent b1068dc commit 69d025b2291a8fb3f42236010af7e31a0735beb8 Jesse Glick committed Mar 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/junit/internal/MethodSorter.java
View
2 src/main/java/org/junit/internal/MethodSorter.java
@@ -21,7 +21,7 @@
public static Method[] getDeclaredMethods(Class<?> clazz) {
Method[] methods = clazz.getDeclaredMethods();
Arrays.sort(methods, new Comparator<Method>() {
- @Override public int compare(Method m1, Method m2) {
+ public int compare(Method m1, Method m2) {
int i1 = m1.getName().hashCode();
int i2 = m2.getName().hashCode();
return i1 != i2 ? i1 - i2 : m1.toString().compareTo(m2.toString());

0 comments on commit 69d025b

Please sign in to comment.
Something went wrong with that request. Please try again.