Commit 15ecefcc authored by Thomas Guillem's avatar Thomas Guillem
Browse files

libvlc/Media: remove unused Comparable

parent 8dbea4ac
...@@ -27,7 +27,7 @@ import android.graphics.Bitmap; ...@@ -27,7 +27,7 @@ import android.graphics.Bitmap;
import android.text.TextUtils; import android.text.TextUtils;
import android.util.Log; import android.util.Log;
public class Media implements Comparable<Media> { public class Media {
public final static String TAG = "VLC/LibVLC/Media"; public final static String TAG = "VLC/LibVLC/Media";
public final static HashSet<String> VIDEO_EXTENSIONS; public final static HashSet<String> VIDEO_EXTENSIONS;
...@@ -211,15 +211,6 @@ public class Media implements Comparable<Media> { ...@@ -211,15 +211,6 @@ public class Media implements Comparable<Media> {
mTrackNumber = trackNumber; mTrackNumber = trackNumber;
} }
/**
* Compare the filenames to sort items
*/
@Override
public int compareTo(Media another) {
return getTitle().toUpperCase(Locale.getDefault()).compareTo(
another.getTitle().toUpperCase(Locale.getDefault()));
}
public String getLocation() { public String getLocation() {
return mLocation; return mLocation;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment