You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-java/mockobjects/files/mockobjects-0.09-java15.patch

12 lines
364 B

--- src/jdk/common/alt/java/io/FileImpl.java 2006-01-15 13:49:06.000000000 +0100
+++ src/jdk/common/alt/java/io/FileImpl.java 2006-01-15 13:47:59.000000000 +0100
@@ -171,7 +171,7 @@
}
public int compareTo(Object o) {
- return file.compareTo(o);
+ return file.compareTo((java.io.File) o);
}
public java.io.File getRealFile() {