Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/DefaultSubscriptions.java

Issue 29505565: Issue 5237 - Correct filter lists not applied on other language installation (Closed)
Patch Set: Fixed copyright text and access level for getAdsSubscriptions() Created Aug. 11, 2017, 1:40 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/DefaultSubscriptions.java
===================================================================
--- a/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/DefaultSubscriptions.java
+++ b/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/DefaultSubscriptions.java
@@ -88,16 +88,21 @@ final class DefaultSubscriptions
return this.urlMap.get(url);
}
public DefaultSubscriptionInfo getForUrl(final URL url)
{
return url != null ? this.getForUrl(url.toString()) : null;
}
+ public List<DefaultSubscriptionInfo> getAdsSubscriptions()
+ {
+ return adsSubscriptions;
+ }
+
private void listSubscriptions(final List<DefaultSubscriptionInfo> output)
{
for (final DefaultSubscriptionInfo s : this.subscriptions)
{
this.listSubscriptions(s, output);
}
}

Powered by Google App Engine
This is Rietveld