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

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

Issue 29436555: Issue 5231 - Use Java 7 features (Closed)
Patch Set: Created May 11, 2017, 6:30 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/WhitelistedWebsitesPreferenceCategory.java
===================================================================
--- a/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/WhitelistedWebsitesPreferenceCategory.java
+++ b/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/WhitelistedWebsitesPreferenceCategory.java
@@ -33,17 +33,17 @@ import org.adblockplus.sbrowser.contentb
import org.adblockplus.sbrowser.contentblocker.engine.EngineService;
import java.util.Collections;
import java.util.Set;
import java.util.TreeSet;
public class WhitelistedWebsitesPreferenceCategory extends PreferenceCategory
{
- private final Set<String> whitelistedWebsites = new TreeSet<String>();
+ private final Set<String> whitelistedWebsites = new TreeSet<>();
private Engine engine;
public WhitelistedWebsitesPreferenceCategory(Context context, AttributeSet attrs)
{
super(context, attrs);
// This is required to remove the title TextView of the PreferenceCategory
this.setLayoutResource(R.layout.empty_view);
}

Powered by Google App Engine
This is Rietveld