Index: libadblockplus-android/src/org/adblockplus/android/AndroidWebRequest.java |
diff --git a/libadblockplus-android/src/org/adblockplus/android/AndroidWebRequest.java b/libadblockplus-android/src/org/adblockplus/android/AndroidWebRequest.java |
index bdf1408bd8bea5cfc45dd4510f653148435de0f5..85caa0aa13c6f803124f97244f51a0ab8af63617 100644 |
--- a/libadblockplus-android/src/org/adblockplus/android/AndroidWebRequest.java |
+++ b/libadblockplus-android/src/org/adblockplus/android/AndroidWebRequest.java |
@@ -132,13 +132,14 @@ public class AndroidWebRequest extends WebRequest |
if (connection.getHeaderFields().size() > 0) |
{ |
List<HeaderEntry> responseHeaders = new LinkedList<HeaderEntry>(); |
- for (Map.Entry<String, List<String>> eachEntry : |
- connection.getHeaderFields().entrySet()) |
+ for (Map.Entry<String, List<String>> eachEntry : connection.getHeaderFields().entrySet()) |
anton
2016/07/19 09:50:30
decided to fit it into 1 line (though it's 101 cha
diegocarloslima
2016/09/06 23:02:14
This 'for' block still have wrong indentation. It
anton
2016/09/08 13:27:44
Acknowledged.
|
{ |
for (String eachValue : eachEntry.getValue()) |
{ |
if (eachEntry.getKey() != null && eachValue != null) |
+ { |
responseHeaders.add(new HeaderEntry(eachEntry.getKey(), eachValue)); |
+ } |
} |
} |
response.setReponseHeaders(responseHeaders); |