summaryrefslogtreecommitdiffstats
path: root/libart/src
diff options
context:
space:
mode:
Diffstat (limited to 'libart/src')
-rw-r--r--libart/src/main/java/java/lang/Enum.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libart/src/main/java/java/lang/Enum.java b/libart/src/main/java/java/lang/Enum.java
index f98554a..43ac113 100644
--- a/libart/src/main/java/java/lang/Enum.java
+++ b/libart/src/main/java/java/lang/Enum.java
@@ -148,7 +148,7 @@ public abstract class Enum<E extends Enum<E>> implements Serializable, Comparabl
* @see java.lang.Comparable
*/
public final int compareTo(E o) {
- return ordinal - o.ordinal;
+ return ordinal - o.ordinal();
}
/**