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: Created April 11, 2014, 1:31 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;
}
-
}

Powered by Google App Engine
This is Rietveld