f256004ab45217eb736fda97b3d67cc77b183735
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Extract Variable | 4 | ||
| Extract Variable targetHConn : Connection in method protected doPostScannerOpen(c ObserverContext<RegionCoprocessorEnvironment>, scan Scan, s RegionScanner) : RegionScanner from class org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver | From | To | |
| Extract Variable connection : Connection in method public PhoenixRecordWriter(configuration Configuration, propsToIgnore Set<String>) from class org.apache.phoenix.mapreduce.PhoenixRecordWriter | From | To | |
| Extract Variable hConn : Connection in method public RecoveryIndexWriter(policy IndexFailurePolicy, env RegionCoprocessorEnvironment, name String) from class org.apache.phoenix.hbase.index.write.RecoveryIndexWriter | From | To | |
| Extract Variable hConn : Connection in method public run(args String[]) : int from class org.apache.phoenix.mapreduce.index.IndexTool | From | To | |
| Extract Method | 5 | ||
| Extract Method private tryClosingConnection() : void extracted from protected cleanup(context Context) : void in class org.apache.phoenix.mapreduce.index.PhoenixIndexImportMapper | From | To | |
| Extract Method private tryClosingConnection(connection Connection) : void extracted from private closeConnectionAndFiles(connection Connection) : void in class org.apache.phoenix.mapreduce.OrphanViewTool | From | To | |
| Extract Method private tryClosingResourceSilently(res AutoCloseable) : void extracted from protected cleanup(context Context) : void in class org.apache.phoenix.mapreduce.index.IndexScrutinyMapper | From | To | |
| Extract Method private tryClosingResources() : void extracted from protected cleanup(context Context) : void in class org.apache.phoenix.mapreduce.index.PhoenixIndexPartialBuildMapper | From | To | |
| Extract Method private tryClosingResources() : void extracted from protected cleanup(context Context) : void in class org.apache.phoenix.mapreduce.index.PhoenixIndexImportDirectMapper | From | To |