5a2154c429576def7ee6e2c602fe4039c2053471
Files Diff
- Added: 0
- Removed: 3
- Renamed: 0
- Modified: 41
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public setSaslProps(sasl_props Map<String,String>) : void renamed to public setSaslPropsMap(sasl_props Map<String,String>) : void in class org.jgroups.protocols.SASL | From | To | |
Rename Method public getLocalhost(ip_version StackType) : InetAddress renamed to public getLoopback(ip_version StackType) : InetAddress in class org.jgroups.util.Util | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public setDefaultValues(protocols List<Protocol>) : void moved from class org.jgroups.stack.Configurator to class org.jgroups.stack.ProtocolStack & inlined to public init() : void | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type protocols : Collection<Protocol> to protocols : List<Protocol> in method public MyChannel(protocols List<Protocol>) in class org.jgroups.protocols.GMS_MergeTest.MyChannel | From | To | |
Change Parameter Type validate : Boolean to validate : boolean in method public getInstance(stream InputStream, validate boolean) : XmlConfigurator in class org.jgroups.conf.XmlConfigurator | From | To | |
Change Parameter Type addr : String to addr : InetAddress in method public bindAddress(addr InetAddress) : GossipRouter in class org.jgroups.stack.GossipRouter | From | To | |
Move Method | 1 | ||
Move Method protected getAddressByCustomCode(value String) : InetAddress from class org.jgroups.conf.PropertyConverters.Default to public getAddressByCustomCode(value String) : InetAddress from class org.jgroups.util.Util | From | To | |
Rename Variable | 1 | ||
Rename Variable stack_type : StackType to ip_version : StackType in method public main(args String[]) : void in class org.jgroups.tests.Probe | From | To | |
Change Return Type | 2 | ||
Change Return Type Object to T in method public getValueFromProtocol(protocol Protocol, field Field) : T in class org.jgroups.stack.Configurator | From | To | |
Change Return Type Object to T in method public getValueFromProtocol(protocol Protocol, field_name String) : T in class org.jgroups.stack.Configurator | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable validation : boolean to validate : boolean in method protected parse(stream InputStream, validate boolean) : XmlConfigurator in class org.jgroups.conf.XmlConfigurator | From | To | |
Extract Variable | 2 | ||
Extract Variable propName : String in method public getConvertedValue(obj Object, field Field, value String, check_scope boolean, ip_version StackType) : Object from class org.jgroups.conf.PropertyHelper | From | To | |
Extract Variable name : String in method public sanityCheck(protocols List<Protocol>) : void from class org.jgroups.stack.Configurator | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type bind_addr : String to bind_addr : InetAddress in class org.jgroups.stack.GossipRouter | From | To | |
Extract Method | 2 | ||
Extract Method public createProtocol(prot_spec String, stack ProtocolStack, init_attrs boolean) : Protocol extracted from public createProtocol(prot_spec String, stack ProtocolStack) : Protocol in class org.jgroups.stack.Configurator | From | To | |
Extract Method public createProtocolsAndInitializeAttrs(cfgs List<ProtocolConfiguration>, st ProtocolStack) : List<Protocol> extracted from public setupProtocolStack(protocol_configs List<ProtocolConfiguration>, st ProtocolStack) : Protocol in class org.jgroups.stack.Configurator | From | To | |
Inline Variable | 1 | ||
Inline Variable validation : boolean in method protected parse(stream InputStream, validate Boolean) : XmlConfigurator from class org.jgroups.conf.XmlConfigurator | From | To | |
Rename Parameter | 2 | ||
Rename Parameter protocol_configs : List<ProtocolConfiguration> to cfgs : List<ProtocolConfiguration> in method public createProtocolsAndInitializeAttrs(cfgs List<ProtocolConfiguration>, st ProtocolStack) : List<Protocol> in class org.jgroups.stack.Configurator | From | To | |
Rename Parameter inetAddressMap : Map<String,Map<String,InetAddressInfo>> to map : Map<String,Map<String,InetAddressInfo>> in method public getAddresses(map Map<String,Map<String,InetAddressInfo>>) : Collection<InetAddress> in class org.jgroups.stack.Configurator | From | To |