OLD | NEW |
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-present eyeo GmbH | 3 * Copyright (C) 2006-present 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 this.filterChangeCallback.dispose(); | 312 this.filterChangeCallback.dispose(); |
313 this.filterChangeCallback = null; | 313 this.filterChangeCallback = null; |
314 } | 314 } |
315 | 315 |
316 if (this.showNotificationCallback != null) | 316 if (this.showNotificationCallback != null) |
317 { | 317 { |
318 this.showNotificationCallback.dispose(); | 318 this.showNotificationCallback.dispose(); |
319 this.showNotificationCallback = null; | 319 this.showNotificationCallback = null; |
320 } | 320 } |
321 | 321 |
322 if (this.logSystem != null) | |
323 { | |
324 this.logSystem.dispose(); | |
325 this.logSystem = null; | |
326 } | |
327 | |
328 if (this.webRequest != null) | 322 if (this.webRequest != null) |
329 { | 323 { |
330 this.webRequest.dispose(); | 324 this.webRequest.dispose(); |
331 this.webRequest = null; | 325 this.webRequest = null; |
332 } | 326 } |
333 } | 327 } |
334 | 328 |
335 public boolean isFirstRun() | 329 public boolean isFirstRun() |
336 { | 330 { |
337 return this.filterEngine.isFirstRun(); | 331 return this.filterEngine.isFirstRun(); |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
630 public void setWhitelistedDomains(List<String> domains) | 624 public void setWhitelistedDomains(List<String> domains) |
631 { | 625 { |
632 this.whitelistedDomains = domains; | 626 this.whitelistedDomains = domains; |
633 } | 627 } |
634 | 628 |
635 public List<String> getWhitelistedDomains() | 629 public List<String> getWhitelistedDomains() |
636 { | 630 { |
637 return whitelistedDomains; | 631 return whitelistedDomains; |
638 } | 632 } |
639 } | 633 } |
OLD | NEW |