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

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

Issue 5697499218051072: Usage of new API, cleanups (reduced) (Closed)
Patch Set: Adressed first batch of review issues. Created April 16, 2014, 5:36 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: src/org/adblockplus/libadblockplus/ServerResponse.java
diff --git a/src/org/adblockplus/libadblockplus/ServerResponse.java b/src/org/adblockplus/libadblockplus/ServerResponse.java
index 4a55332c642b128d6ad176755e529f97ab2bd025..0fbd829207ff226e23f02e5544f53d369f9a52fe 100644
--- a/src/org/adblockplus/libadblockplus/ServerResponse.java
+++ b/src/org/adblockplus/libadblockplus/ServerResponse.java
@@ -23,7 +23,7 @@ import java.util.List;
import com.github.rjeschke.neetutils.collections.Tuple;
-public class ServerResponse
+public final class ServerResponse
{
public static enum NsStatus
{
@@ -45,12 +45,12 @@ public class ServerResponse
private NsStatus(final long value)
{
- statusCode = value;
+ this.statusCode = value;
}
public long getStatusCode()
{
- return statusCode;
+ return this.statusCode;
}
public static NsStatus fromStatusCode(final long code)
« no previous file with comments | « src/org/adblockplus/libadblockplus/JsValue.java ('k') | src/org/adblockplus/libadblockplus/Subscription.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld