@@ -49,11 +49,11 @@ public abstract class RequestBuilderBase<T extends RequestBuilderBase<T>> {
49
49
50
50
private static final class RequestImpl implements Request {
51
51
private String method ;
52
- private URI originalUri = null ;
53
- private URI uri = null ;
54
- private URI rawUri = null ;
55
- private InetAddress address = null ;
56
- private InetAddress localAddress = null ;
52
+ private URI originalUri ;
53
+ private URI uri ;
54
+ private URI rawUri ;
55
+ private InetAddress address ;
56
+ private InetAddress localAddress ;
57
57
private FluentCaseInsensitiveStringsMap headers = new FluentCaseInsensitiveStringsMap ();
58
58
private Collection <Cookie > cookies = new ArrayList <Cookie >();
59
59
private byte [] byteData ;
@@ -71,9 +71,9 @@ private static final class RequestImpl implements Request {
71
71
private File file ;
72
72
private Boolean followRedirects ;
73
73
private PerRequestConfig perRequestConfig ;
74
- private long rangeOffset = 0 ;
74
+ private long rangeOffset ;
75
75
public String charset ;
76
- private boolean useRawUrl = false ;
76
+ private boolean useRawUrl ;
77
77
private ConnectionPoolKeyStrategy connectionPoolKeyStrategy = DefaultConnectionPoolStrategy .INSTANCE ;
78
78
79
79
public RequestImpl (boolean useRawUrl ) {
@@ -93,9 +93,9 @@ public RequestImpl(Request prototype) {
93
93
this .streamData = prototype .getStreamData ();
94
94
this .entityWriter = prototype .getEntityWriter ();
95
95
this .bodyGenerator = prototype .getBodyGenerator ();
96
- this .params = ( prototype .getParams () == null ? null : new FluentStringsMap (prototype .getParams () ));
97
- this .queryParams = ( prototype .getQueryParams () == null ? null : new FluentStringsMap (prototype .getQueryParams () ));
98
- this .parts = ( prototype .getParts () == null ? null : new ArrayList <Part >(prototype .getParts () ));
96
+ this .params = prototype .getParams () == null ? null : new FluentStringsMap (prototype .getParams ());
97
+ this .queryParams = prototype .getQueryParams () == null ? null : new FluentStringsMap (prototype .getQueryParams ());
98
+ this .parts = prototype .getParts () == null ? null : new ArrayList <Part >(prototype .getParts ());
99
99
this .virtualHost = prototype .getVirtualHost ();
100
100
this .length = prototype .getContentLength ();
101
101
this .proxyServer = prototype .getProxyServer ();
0 commit comments