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

Unified Diff: adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/DefaultSubscriptionInfo.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/engine/DefaultSubscriptionInfo.java
===================================================================
--- a/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/DefaultSubscriptionInfo.java
+++ b/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/DefaultSubscriptionInfo.java
@@ -28,19 +28,19 @@ public final class DefaultSubscriptionIn
private final static String KEY_AUTHOR = "author";
private final static String KEY_PREFIXES = "prefixes";
private final static String KEY_SPECIALIZATION = "specialization";
private final static String KEY_HOMEPAGE = "homepage";
private final static String KEY_TYPE = "type";
private final static String KEY_COMPLETE = "complete";
DefaultSubscriptionInfo parent = null;
- final List<DefaultSubscriptionInfo> variants = new ArrayList<DefaultSubscriptionInfo>();
- final List<DefaultSubscriptionInfo> supplements = new ArrayList<DefaultSubscriptionInfo>();
- final HashMap<String, String> attributes = new HashMap<String, String>();
+ final List<DefaultSubscriptionInfo> variants = new ArrayList<>();
+ final List<DefaultSubscriptionInfo> supplements = new ArrayList<>();
+ final HashMap<String, String> attributes = new HashMap<>();
private String getValue(final String key)
{
final String value = this.attributes.get(key);
return value != null ? value : "";
}
public String getTitle()

Powered by Google App Engine
This is Rietveld