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 typo in SubscriptionUtils Created Aug. 15, 2017, 7:31 a.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
« no previous file with comments | « no previous file | adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/Engine.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « no previous file | adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/Engine.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld