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

Unified Diff: src/org/adblockplus/libadblockplus/AppInfo.java

Issue 29329928: Issue 3297 - Fix issues introduced by recent libadblockplus changes and update dependencies (Closed)
Patch Set: MinSDK and copy'n'paste Created Nov. 20, 2015, 12:19 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
« no previous file with comments | « src/org/adblockplus/android/ProxyService.java ('k') | src/org/adblockplus/libadblockplus/FilterEngine.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/org/adblockplus/libadblockplus/AppInfo.java
diff --git a/src/org/adblockplus/libadblockplus/AppInfo.java b/src/org/adblockplus/libadblockplus/AppInfo.java
index 986b49dc902eda7214acf016b07d2b0ef44c0590..9c91073c09408855e408c6c641a1e0486b779fa0 100644
--- a/src/org/adblockplus/libadblockplus/AppInfo.java
+++ b/src/org/adblockplus/libadblockplus/AppInfo.java
@@ -19,7 +19,6 @@ package org.adblockplus.libadblockplus;
public class AppInfo
{
- public final String id;
public final String version;
public final String name;
public final String application;
@@ -27,10 +26,9 @@ public class AppInfo
public final String locale;
public final boolean developmentBuild;
- private AppInfo(final String id, final String version, final String name, final String application, final String applicationVersion,
+ private AppInfo(final String version, final String name, final String application, final String applicationVersion,
final String locale, final boolean developmentBuild)
{
- this.id = id;
this.version = version;
this.name = name;
this.application = application;
@@ -46,7 +44,6 @@ public class AppInfo
public static class Builder
{
- private String id = "";
private String version = "0";
private String name = "adblockplusandroid";
private String application = "android";
@@ -59,12 +56,6 @@ public class AppInfo
}
- public Builder setId(final String id)
- {
- this.id = id;
- return this;
- }
-
public Builder setVersion(final String version)
{
this.version = version;
@@ -103,7 +94,7 @@ public class AppInfo
public AppInfo build()
{
- return new AppInfo(this.id, this.version, this.name, this.application, this.applicationVersion, this.locale, this.developmentBuild);
+ return new AppInfo(this.version, this.name, this.application, this.applicationVersion, this.locale, this.developmentBuild);
}
}
}
« no previous file with comments | « src/org/adblockplus/android/ProxyService.java ('k') | src/org/adblockplus/libadblockplus/FilterEngine.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld