5a37fdb716f0ff812926667caa836177aa3bef7b
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method protected flush(block boolean, internal boolean) : boolean renamed to protected flushNonBlocking() : boolean in class org.apache.tomcat.util.net.SocketWrapperBase | From | To | |
Rename Method public write(block boolean, buf byte[], off int, len int) : void renamed to protected writeNonBlocking(buf byte[], off int, len int) : void in class org.apache.tomcat.util.net.Nio2Endpoint.Nio2SocketWrapper | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute bytebuffer : ByteBuffer to socketWriteBuffer : ByteBuffer in method private doWriteInternal(flip boolean) : int in class org.apache.tomcat.util.net.AprEndpoint.AprSocketWrapper | From | To | |
Extract Variable | 2 | ||
Extract Variable socket : NioChannel in method public close() : void from class org.apache.tomcat.util.net.NioEndpoint.NioSocketWrapper | From | To | |
Extract Variable socket : Nio2Channel in method public close() : void from class org.apache.tomcat.util.net.Nio2Endpoint.Nio2SocketWrapper | From | To | |
Extract Method | 2 | ||
Extract Method protected writeBlocking(buf byte[], off int, len int) : void extracted from public write(block boolean, b byte[], off int, len int) : void in class org.apache.tomcat.util.net.SocketWrapperBase | From | To | |
Extract Method private flushNonBlocking(hasPermit boolean) : boolean extracted from public write(block boolean, buf byte[], off int, len int) : void in class org.apache.tomcat.util.net.Nio2Endpoint.Nio2SocketWrapper | From | To | |
Rename Parameter | 1 | ||
Rename Parameter b : byte[] to buf : byte[] in method public write(block boolean, buf byte[], off int, len int) : void in class org.apache.tomcat.util.net.SocketWrapperBase | From | To |