3906dda26990382bc90e16f04c9863a163ada646
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 5 | ||
Move Method public hashCode() : int from class alluxio.master.SingleMasterInquireClient to public hashCode() : int from class alluxio.master.SingleMasterInquireClient.SingleMasterConnectDetails | From | To | |
Move Method public hashCode() : int from class alluxio.master.ZkMasterInquireClient to public hashCode() : int from class alluxio.master.ZkMasterInquireClient.ZkMasterConnectDetails | From | To | |
Move Method public equals(o Object) : boolean from class alluxio.master.PollingMasterInquireClient to public equals(o Object) : boolean from class alluxio.master.PollingMasterInquireClient.MultiMasterConnectDetails | From | To | |
Move Method public equals(o Object) : boolean from class alluxio.master.SingleMasterInquireClient to public equals(o Object) : boolean from class alluxio.master.SingleMasterInquireClient.SingleMasterConnectDetails | From | To | |
Move Method public equals(o Object) : boolean from class alluxio.master.ZkMasterInquireClient to public equals(o Object) : boolean from class alluxio.master.ZkMasterInquireClient.ZkMasterConnectDetails | From | To | |
Rename Variable | 2 | ||
Rename Variable key : String to connectDetails : ZkMasterConnectDetails in method public getClient(zookeeperAddress String, electionPath String, leaderPath String) : ZkMasterInquireClient in class alluxio.master.ZkMasterInquireClient | From | To | |
Rename Variable confClient : MasterInquireClient to newDetails : ConnectDetails in method private connectDetailsMatch(uri URI, conf Configuration) : boolean in class alluxio.hadoop.AbstractFileSystem | From | To | |
Move Attribute | 2 | ||
Move Attribute private mLeaderPath : String from class alluxio.master.ZkMasterInquireClient to private mLeaderPath : String from class alluxio.master.ZkMasterInquireClient.ZkMasterConnectDetails | From | To | |
Move Attribute private mAddress : InetSocketAddress from class alluxio.master.SingleMasterInquireClient to private mAddress : InetSocketAddress from class alluxio.master.SingleMasterInquireClient.SingleMasterConnectDetails | From | To | |
Extract Class | 2 | ||
Extract Class alluxio.master.SingleMasterInquireClient.SingleMasterConnectDetails from class alluxio.master.SingleMasterInquireClient | From | To | |
Extract Class alluxio.master.ZkMasterInquireClient.ZkMasterConnectDetails from class alluxio.master.ZkMasterInquireClient | From | To | |
Rename Attribute | 1 | ||
Rename Attribute mZookeeperAddress : String to mConnectDetails : ZkMasterConnectDetails in class alluxio.master.ZkMasterInquireClient | From | To | |
Change Variable Type | 2 | ||
Change Variable Type key : String to connectDetails : ZkMasterConnectDetails in method public getClient(zookeeperAddress String, electionPath String, leaderPath String) : ZkMasterInquireClient in class alluxio.master.ZkMasterInquireClient | From | To | |
Change Variable Type confClient : MasterInquireClient to newDetails : ConnectDetails in method private connectDetailsMatch(uri URI, conf Configuration) : boolean in class alluxio.hadoop.AbstractFileSystem | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type sCreatedClients : HashMap<String,ZkMasterInquireClient> to sCreatedClients : HashMap<ZkMasterConnectDetails,ZkMasterInquireClient> in class alluxio.master.ZkMasterInquireClient | From | To | |
Change Attribute Type mZookeeperAddress : String to mConnectDetails : ZkMasterConnectDetails in class alluxio.master.ZkMasterInquireClient | From | To |