89e1dd033ab9707979e262c97dada226c0af6b20
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 3 | ||
Pull Up Method private hasRemaining() : boolean from class org.eclipse.jetty.http2.HTTP2Connection.NetworkBuffer to public hasRemaining() : boolean from class org.eclipse.jetty.io.RetainableByteBuffer | From | To | |
Pull Up Method public retain() : void from class org.eclipse.jetty.http2.HTTP2Connection.NetworkBuffer to public retain() : void from class org.eclipse.jetty.io.RetainableByteBuffer | From | To | |
Pull Up Method public toString() : String from class org.eclipse.jetty.http2.HTTP2Connection.NetworkBuffer to public toString() : String from class org.eclipse.jetty.io.RetainableByteBuffer | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method private release() : boolean moved from class org.eclipse.jetty.http2.HTTP2Connection.NetworkBuffer to class org.eclipse.jetty.http2.HTTP2Connection.HTTP2Producer & inlined to public produce() : Runnable | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute private buffer : ByteBuffer from class org.eclipse.jetty.http2.HTTP2Connection.NetworkBuffer to private buffer : ByteBuffer from class org.eclipse.jetty.io.RetainableByteBuffer | From | To | |
Change Return Type | 1 | ||
Change Return Type NetworkBuffer to void in method private acquireNetworkBuffer() : void in class org.eclipse.jetty.http2.HTTP2Connection.HTTP2Producer | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.eclipse.jetty.io.RetainableByteBuffer from classes [org.eclipse.jetty.http2.HTTP2Connection.NetworkBuffer] | From | To | |
Extract Variable | 2 | ||
Extract Variable currentBuffer : NetworkBuffer in method private releaseNetworkBuffer() : void from class org.eclipse.jetty.http2.HTTP2Connection.HTTP2Producer | From | To | |
Extract Variable currentBuffer : NetworkBuffer in method private reacquireNetworkBuffer() : void from class org.eclipse.jetty.http2.HTTP2Connection.HTTP2Producer | From | To | |
Extract Method | 2 | ||
Extract Method private reacquireNetworkBuffer() : void extracted from public produce() : Runnable in class org.eclipse.jetty.http2.HTTP2Connection.HTTP2Producer | From | To | |
Extract Method private completed(failure Throwable) : void extracted from public failed(failure Throwable) : void in class org.eclipse.jetty.http2.HTTP2Connection.NetworkBuffer | From | To |