Backed out changeset 77abc92bd89c (bug 1369604)

This commit is contained in:
Sebastian Hengst 2017-07-29 18:35:14 +02:00
Родитель 767eb4e07d
Коммит f868385951
2 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -39,7 +39,7 @@ public class Highlight implements Item {
private long historyId;
private @Nullable Metadata metadata; // lazily-loaded.
private @Nullable Metadata metadata;
private @Nullable final String metadataJSON;
private @Nullable String fastImageURL;
private int fastDescriptionLength;

Просмотреть файл

@ -90,9 +90,6 @@ public class HighlightsRanking {
/**
* Create a list of highlights based on the candidates provided by the input cursor.
*
* THIS METHOD IS CRITICAL FOR HIGHLIGHTS PERFORMANCE AND HAS BEEN OPTIMIZED (bug 1369604):
* please be careful what you add to it!
*/
public static List<Highlight> rank(Cursor cursor, int limit) {
List<HighlightCandidate> highlights = extractFeatures(cursor);