[Android] Remove the compareTo implementation from SideMenuItem. We don't perform any operations that require it.

This commit is contained in:
Lioncash 2013-09-04 07:43:56 -04:00
parent 38304a7e42
commit b94a462fca

View File

@ -10,7 +10,7 @@ package org.dolphinemu.dolphinemu.sidemenu;
/**
* Represents an item that goes in the sidemenu of the app.
*/
public final class SideMenuItem implements Comparable<SideMenuItem>
public final class SideMenuItem
{
private final String name;
private final int id;
@ -46,13 +46,5 @@ public final class SideMenuItem implements Comparable<SideMenuItem>
{
return id;
}
public int compareTo(SideMenuItem o)
{
if (name != null)
return name.toLowerCase().compareTo(o.getName().toLowerCase());
else
throw new IllegalArgumentException();
}
}