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

Unified Diff: src/org/adblockplus/brazil/TransparentProxyHandler.java

Issue 5697499218051072: Usage of new API, cleanups (reduced) (Closed)
Patch Set: Fixed leftover first-batch review issues. Created April 16, 2014, 5:51 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/brazil/TransparentProxyHandler.java
diff --git a/src/org/adblockplus/brazil/TransparentProxyHandler.java b/src/org/adblockplus/brazil/TransparentProxyHandler.java
index 87abada97d2e35348bb9bbeb09686892baf71a73..7fc9f68c82eeff235d3e4b65477bd0542ab4ae20 100644
--- a/src/org/adblockplus/brazil/TransparentProxyHandler.java
+++ b/src/org/adblockplus/brazil/TransparentProxyHandler.java
@@ -29,15 +29,14 @@ import sunlabs.brazil.server.Server;
*/
public class TransparentProxyHandler implements Handler
{
-
@Override
- public boolean init(Server server, String prefix)
+ public boolean init(final Server server, final String prefix)
{
return true;
}
@Override
- public boolean respond(Request request) throws IOException
+ public boolean respond(final Request request) throws IOException
{
if (!request.url.contains("://"))
{
@@ -45,5 +44,4 @@ public class TransparentProxyHandler implements Handler
}
return false;
}
-
}
« no previous file with comments | « src/org/adblockplus/brazil/SSLConnectionHandler.java ('k') | src/org/adblockplus/libadblockplus/Filter.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld