diff options
author | Brian Carlstrom <bdc@google.com> | 2013-09-24 19:34:53 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-09-24 19:34:53 -0700 |
commit | de7c3cf71a67cfd0a936340769170eb089cd6eba (patch) | |
tree | d5d659a0dc2912ad3d46bd70523941771712287a /libdvm/src/main | |
parent | 94b1bae43287c5c8e2d31d05d4f68441acf667ab (diff) | |
parent | 5444a8ef87dc014f79914d78f468cc65fda10c77 (diff) | |
download | libcore-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.java | 2 |
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(); } /** |