14262bd25ea1739d2a7f3788c8fd67f38ec92182
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 3 | ||
Pull Up Method public getAddr() : InetSocketAddress from class org.redisson.client.RedisAskException to public getAddr() : InetSocketAddress from class org.redisson.client.RedisRedirectException | From | To | |
Pull Up Method public getSlot() : int from class org.redisson.client.RedisMovedException to public getSlot() : int from class org.redisson.client.RedisRedirectException | From | To | |
Pull Up Method public getUrl() : URI from class org.redisson.client.RedisAskException to public getUrl() : URI from class org.redisson.client.RedisRedirectException | From | To | |
Change Parameter Type | 6 | ||
Change Parameter Type serverMode : Mode to serverMode : NodeType in method public onConnect(config MasterSlaveServersConfig, serverMode NodeType, connectionListener FutureConnectionListener) : void in class org.redisson.connection.DefaultConnectionListener | From | To | |
Change Parameter Type serverMode : Mode to serverMode : NodeType in method public SubscribesConnectionEntry(client RedisClient, poolSize int, subscribePoolSize int, connectListener ConnectionListener, serverMode NodeType) in class org.redisson.connection.SubscribesConnectionEntry | From | To | |
Change Parameter Type mode : Mode to mode : NodeType in method private addSlave(host String, port int, freezed boolean, mode NodeType) : void in class org.redisson.connection.MasterSlaveEntry | From | To | |
Change Parameter Type serverMode : Mode to serverMode : NodeType in method public onConnect(config MasterSlaveServersConfig, serverMode NodeType, connectionListener FutureConnectionListener) : void in class org.redisson.cluster.ClusterConnectionListener | From | To | |
Change Parameter Type serverMode : Mode to serverMode : NodeType in method public onConnect(config MasterSlaveServersConfig, serverMode NodeType, connectionListener FutureConnectionListener) : void in class org.redisson.connection.ConnectionListener | From | To | |
Change Parameter Type serverMode : Mode to nodeType : NodeType in method public ConnectionEntry(client RedisClient, poolSize int, connectListener ConnectionListener, nodeType NodeType) in class org.redisson.connection.ConnectionEntry | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute private url : URI from class org.redisson.client.RedisAskException to private url : URI from class org.redisson.client.RedisRedirectException | From | To | |
Pull Up Attribute private slot : int from class org.redisson.client.RedisMovedException to private slot : int from class org.redisson.client.RedisRedirectException | From | To | |
Rename Class | 1 | ||
Rename Class org.redisson.connection.ConnectionEntry.Mode renamed to org.redisson.connection.ConnectionEntry.NodeType | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.redisson.client.RedisRedirectException from classes [org.redisson.client.RedisAskException, org.redisson.client.RedisMovedException] | From | To | |
Rename Attribute | 1 | ||
Rename Attribute serverMode : Mode to nodeType : NodeType in class org.redisson.connection.ConnectionEntry | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type serverMode : Mode to nodeType : NodeType in class org.redisson.connection.ConnectionEntry | From | To | |
Rename Parameter | 1 | ||
Rename Parameter serverMode : Mode to nodeType : NodeType in method public ConnectionEntry(client RedisClient, poolSize int, connectListener ConnectionListener, nodeType NodeType) in class org.redisson.connection.ConnectionEntry | From | To |