From f8683859514cca04fc271dc814118a10a6387c63 Mon Sep 17 00:00:00 2001 From: Sebastian Hengst Date: Sat, 29 Jul 2017 18:35:14 +0200 Subject: [PATCH] Backed out changeset 77abc92bd89c (bug 1369604) --- .../gecko/activitystream/homepanel/model/Highlight.java | 2 +- .../gecko/activitystream/ranking/HighlightsRanking.java | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/model/Highlight.java b/mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/model/Highlight.java index 50c7f238fa9a..dfa9a5576aa6 100644 --- a/mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/model/Highlight.java +++ b/mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/model/Highlight.java @@ -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; diff --git a/mobile/android/base/java/org/mozilla/gecko/activitystream/ranking/HighlightsRanking.java b/mobile/android/base/java/org/mozilla/gecko/activitystream/ranking/HighlightsRanking.java index de6bf3e2ef8a..a6fc7d84a53a 100644 --- a/mobile/android/base/java/org/mozilla/gecko/activitystream/ranking/HighlightsRanking.java +++ b/mobile/android/base/java/org/mozilla/gecko/activitystream/ranking/HighlightsRanking.java @@ -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 rank(Cursor cursor, int limit) { List highlights = extractFeatures(cursor);