Revert "Fix unnecessary boxing and incorrect Serializable"
This reverts commit 0ae6f17285
.
This commit is contained in:
parent
79634e661b
commit
8716b9d4bd
@ -323,7 +323,9 @@ final class SpdySession {
|
||||
}
|
||||
}
|
||||
|
||||
private final class StreamComparator implements Comparator<Integer> {
|
||||
private final class StreamComparator implements Comparator<Integer>, Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1161471649740544848L;
|
||||
|
||||
StreamComparator() { }
|
||||
|
||||
|
@ -94,7 +94,7 @@ public abstract class AbstractHttp2ConnectionHandlerBuilder<T extends Http2Conne
|
||||
// * OK to use with server() and connection()
|
||||
private Http2FrameLogger frameLogger;
|
||||
private SensitivityDetector headerSensitivityDetector;
|
||||
private boolean encoderEnforceMaxConcurrentStreams;
|
||||
private Boolean encoderEnforceMaxConcurrentStreams;
|
||||
|
||||
/**
|
||||
* Returns if HTTP headers should be validated according to
|
||||
@ -268,7 +268,7 @@ public abstract class AbstractHttp2ConnectionHandlerBuilder<T extends Http2Conne
|
||||
* would otherwise be exceeded.
|
||||
*/
|
||||
protected boolean encoderEnforceMaxConcurrentStreams() {
|
||||
return encoderEnforceMaxConcurrentStreams;
|
||||
return encoderEnforceMaxConcurrentStreams != null ? encoderEnforceMaxConcurrentStreams : false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user