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

Side by Side 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.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2016 Eyeo GmbH 3 * Copyright (C) 2006-2016 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 public DefaultSubscriptionInfo getForUrl(final String url) 86 public DefaultSubscriptionInfo getForUrl(final String url)
87 { 87 {
88 return this.urlMap.get(url); 88 return this.urlMap.get(url);
89 } 89 }
90 90
91 public DefaultSubscriptionInfo getForUrl(final URL url) 91 public DefaultSubscriptionInfo getForUrl(final URL url)
92 { 92 {
93 return url != null ? this.getForUrl(url.toString()) : null; 93 return url != null ? this.getForUrl(url.toString()) : null;
94 } 94 }
95 95
96 public List<DefaultSubscriptionInfo> getAdsSubscriptions()
97 {
98 return adsSubscriptions;
99 }
100
96 private void listSubscriptions(final List<DefaultSubscriptionInfo> output) 101 private void listSubscriptions(final List<DefaultSubscriptionInfo> output)
97 { 102 {
98 for (final DefaultSubscriptionInfo s : this.subscriptions) 103 for (final DefaultSubscriptionInfo s : this.subscriptions)
99 { 104 {
100 this.listSubscriptions(s, output); 105 this.listSubscriptions(s, output);
101 } 106 }
102 } 107 }
103 108
104 private void listSubscriptions(final DefaultSubscriptionInfo parent, 109 private void listSubscriptions(final DefaultSubscriptionInfo parent,
105 final List<DefaultSubscriptionInfo> output) 110 final List<DefaultSubscriptionInfo> output)
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 } 284 }
280 } 285 }
281 } 286 }
282 287
283 @Override 288 @Override
284 public String toString() 289 public String toString()
285 { 290 {
286 return this.linearSubscriptions.toString(); 291 return this.linearSubscriptions.toString();
287 } 292 }
288 } 293 }
OLDNEW
« 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