Make inner classes static (#405)
This commit is contained in:
parent
f78ec699ab
commit
f198fc0e62
|
@ -385,7 +385,7 @@ public class HttpByteArrayCacheEntrySerializer implements HttpCacheEntrySerializ
|
|||
* Copied from DefaultHttpResponseWriter, but wrapping a SimpleHttpResponse instead of a ClassicHttpResponse
|
||||
*/
|
||||
// Seems like the DefaultHttpResponseWriter should be able to do this, but it doesn't seem to be able to
|
||||
private class SimpleHttpResponseWriter extends AbstractMessageWriter<SimpleHttpResponse> {
|
||||
private static class SimpleHttpResponseWriter extends AbstractMessageWriter<SimpleHttpResponse> {
|
||||
|
||||
public SimpleHttpResponseWriter() {
|
||||
super(BasicLineFormatter.INSTANCE);
|
||||
|
|
|
@ -634,7 +634,7 @@ public class PoolingHttpClientConnectionManager
|
|||
|
||||
private static final PrefixedIncrementingId INCREMENTING_ID = new PrefixedIncrementingId("ep-");
|
||||
|
||||
class InternalConnectionEndpoint extends ConnectionEndpoint implements Identifiable {
|
||||
static class InternalConnectionEndpoint extends ConnectionEndpoint implements Identifiable {
|
||||
|
||||
private final AtomicReference<PoolEntry<HttpRoute, ManagedHttpClientConnection>> poolEntryRef;
|
||||
private final String id;
|
||||
|
|
|
@ -670,7 +670,7 @@ public class PoolingAsyncClientConnectionManager implements AsyncClientConnectio
|
|||
|
||||
private static final PrefixedIncrementingId INCREMENTING_ID = new PrefixedIncrementingId("ep-");
|
||||
|
||||
class InternalConnectionEndpoint extends AsyncConnectionEndpoint implements Identifiable {
|
||||
static class InternalConnectionEndpoint extends AsyncConnectionEndpoint implements Identifiable {
|
||||
|
||||
private final AtomicReference<PoolEntry<HttpRoute, ManagedAsyncClientConnection>> poolEntryRef;
|
||||
private final String id;
|
||||
|
|
Loading…
Reference in New Issue