summaryrefslogtreecommitdiffstats
path: root/libdvm/src/main
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-09-24 19:34:53 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-09-24 19:34:53 -0700
commitde7c3cf71a67cfd0a936340769170eb089cd6eba (patch)
treed5d659a0dc2912ad3d46bd70523941771712287a /libdvm/src/main
parent94b1bae43287c5c8e2d31d05d4f68441acf667ab (diff)
parent5444a8ef87dc014f79914d78f468cc65fda10c77 (diff)
downloadlibcore-de7c3cf71a67cfd0a936340769170eb089cd6eba.zip
libcore-de7c3cf71a67cfd0a936340769170eb089cd6eba.tar.gz
libcore-de7c3cf71a67cfd0a936340769170eb089cd6eba.tar.bz2
am 5444a8ef: Merge "Fix Java 7 build."
* commit '5444a8ef87dc014f79914d78f468cc65fda10c77': Fix Java 7 build.
Diffstat (limited to 'libdvm/src/main')
-rw-r--r--libdvm/src/main/java/java/lang/Enum.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdvm/src/main/java/java/lang/Enum.java b/libdvm/src/main/java/java/lang/Enum.java
index 7a0f514..4b897aa 100644
--- a/libdvm/src/main/java/java/lang/Enum.java
+++ b/libdvm/src/main/java/java/lang/Enum.java
@@ -147,7 +147,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();
}
/**