b2e33c1a2476990af100401261c0c15559aca468
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getOneServerPerCluster(iClusterNames Collection<String>, iLocalNode String) : Collection<String> renamed to public getServerClusterMap(iClusterNames Collection<String>, iLocalNode String) : Map<String,Collection<String>> in class com.orientechnologies.orient.server.distributed.ODistributedConfiguration | From | To | |
Rename Variable | 2 | ||
Rename Variable missingClusters : Set<String> to remainingClusters : Set<String> in method public getServerClusterMap(iClusterNames Collection<String>, iLocalNode String) : Map<String,Collection<String>> in class com.orientechnologies.orient.server.distributed.ODistributedConfiguration | From | To | |
Rename Variable p : Map.Entry<String,Object> to c : Map.Entry<String,Collection<String>> in method protected executeOnServers(iCommand OCommandRequestText, involvedClusters Collection<String>, nodeClusterMap Map<String,Collection<String>>) : Map<String,Object> in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Change Return Type | 2 | ||
Change Return Type Collection<String> to Map<String,Collection<String>> in method public getServerClusterMap(iClusterNames Collection<String>, iLocalNode String) : Map<String,Collection<String>> in class com.orientechnologies.orient.server.distributed.ODistributedConfiguration | From | To | |
Change Return Type OCommandExecutorSQLResultsetDelegate to String in method public getTargetQuery() : String in class com.orientechnologies.orient.core.sql.filter.OSQLTarget | From | To | |
Parameterize Variable | 2 | ||
Parameterize Variable cmd : OCommandExecutorSQLSelect to select : OCommandExecutorSQLSelect in method protected mergeResultByAggegation(select OCommandExecutorSQLSelect, iResults Map<String,Object>) : Object in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Parameterize Variable proj : Map<String,Object> to nodeClusterMap : Map<String,Collection<String>> in method protected executeOnServers(iCommand OCommandRequestText, involvedClusters Collection<String>, nodeClusterMap Map<String,Collection<String>>) : Map<String,Object> in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Change Variable Type | 5 | ||
Change Variable Type proj : Map<String,Object> to nodeClusterMap : Map<String,Collection<String>> in method protected executeOnServers(iCommand OCommandRequestText, involvedClusters Collection<String>, nodeClusterMap Map<String,Collection<String>>) : Map<String,Object> in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Change Variable Type clustersInServer : Set<String> to clustersInServer : Collection<String> in method public getServerClusterMap(iClusterNames Collection<String>, iLocalNode String) : Map<String,Collection<String>> in class com.orientechnologies.orient.server.distributed.ODistributedConfiguration | From | To | |
Change Variable Type p : Map.Entry<String,Object> to c : Map.Entry<String,Collection<String>> in method protected executeOnServers(iCommand OCommandRequestText, involvedClusters Collection<String>, nodeClusterMap Map<String,Collection<String>>) : Map<String,Object> in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Change Variable Type serverMap : Map<String,Set<String>> to serverMap : Map<String,Collection<String>> in method public getServerClusterMap(iClusterNames Collection<String>, iLocalNode String) : Map<String,Collection<String>> in class com.orientechnologies.orient.server.distributed.ODistributedConfiguration | From | To | |
Change Variable Type clusters : Set<String> to clusters : Collection<String> in method public getServerClusterMap(iClusterNames Collection<String>, iLocalNode String) : Map<String,Collection<String>> in class com.orientechnologies.orient.server.distributed.ODistributedConfiguration | From | To | |
Extract Method | 2 | ||
Extract Method protected mergeResultByAggegation(select OCommandExecutorSQLSelect, iResults Map<String,Object>) : Object extracted from public command(iCommand OCommandRequestText) : Object in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Extract Method protected executeOnServers(iCommand OCommandRequestText, involvedClusters Collection<String>, nodeClusterMap Map<String,Collection<String>>) : Map<String,Object> extracted from public command(iCommand OCommandRequestText) : Object in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type targetQuery : OCommandExecutorSQLResultsetDelegate to targetQuery : String in class com.orientechnologies.orient.core.sql.filter.OSQLTarget | From | To |