Index: adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/SubscriptionInfo.java |
=================================================================== |
--- a/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/SubscriptionInfo.java |
+++ b/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/SubscriptionInfo.java |
@@ -12,16 +12,18 @@ |
* GNU General Public License for more details. |
* |
* You should have received a copy of the GNU General Public License |
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
*/ |
package org.adblockplus.sbrowser.contentblocker.engine; |
+import android.support.annotation.NonNull; |
+ |
/** |
* Class for querying subscription information from the engine. |
*/ |
public class SubscriptionInfo implements Comparable<SubscriptionInfo> |
{ |
public enum Type |
{ |
ADS, |
@@ -143,13 +145,13 @@ public class SubscriptionInfo implements |
subscription.getId(), |
url, |
title, |
subscription.isEnabled(), |
subscription.getLastUpdateTimestamp()); |
} |
@Override |
- public int compareTo(final SubscriptionInfo another) |
+ public int compareTo(@NonNull final SubscriptionInfo another) |
{ |
return this.getTitle().compareTo(another.getTitle()); |
} |
} |