Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

Commit c2999bb

Browse files
author
b.gorriz
committed
[BOD-1602] Removed not needed dependency
1 parent d06c5a0 commit c2999bb

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -419,12 +419,6 @@
419419
<artifactId>netty-transport</artifactId>
420420
<version>${netty.version}</version>
421421
</dependency>
422-
<dependency>
423-
<groupId>io.netty</groupId>
424-
<artifactId>netty-handler-proxy</artifactId>
425-
<version>${netty.version}</version>
426-
</dependency>
427-
428422
<!-- Test Dependencies -->
429423
<dependency>
430424
<groupId>org.mockito</groupId>

src/main/java/com/google/firebase/database/connection/CustomHttpProxyHandler.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public CustomHttpProxyHandler(SocketAddress proxyAddress, HttpHeaders headers) {
5454
}
5555

5656
public CustomHttpProxyHandler(SocketAddress proxyAddress,
57-
HttpHeaders headers,
58-
boolean ignoreDefaultPortsInConnectHostHeader) {
57+
HttpHeaders headers,
58+
boolean ignoreDefaultPortsInConnectHostHeader) {
5959
super(proxyAddress);
6060
username = null;
6161
password = null;
@@ -69,15 +69,15 @@ public CustomHttpProxyHandler(SocketAddress proxyAddress, String username, Strin
6969
}
7070

7171
public CustomHttpProxyHandler(SocketAddress proxyAddress, String username, String password,
72-
HttpHeaders headers) {
72+
HttpHeaders headers) {
7373
this(proxyAddress, username, password, headers, false);
7474
}
7575

7676
public CustomHttpProxyHandler(SocketAddress proxyAddress,
77-
String username,
78-
String password,
79-
HttpHeaders headers,
80-
boolean ignoreDefaultPortsInConnectHostHeader) {
77+
String username,
78+
String password,
79+
HttpHeaders headers,
80+
boolean ignoreDefaultPortsInConnectHostHeader) {
8181
super(proxyAddress);
8282
if (username == null) {
8383
throw new NullPointerException("username");
@@ -107,7 +107,7 @@ public String protocol() {
107107

108108
@Override
109109
public String authScheme() {
110-
return authorization != null? AUTH_BASIC : AUTH_NONE;
110+
return authorization != null ? AUTH_BASIC : AUTH_NONE;
111111
}
112112

113113
public String username() {

0 commit comments

Comments
 (0)