f1c1f258e5b2dee152a46bd7f6887e928e6a6b3e
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method private updateLastCell(result Result) : void renamed to private recordLastResult(result Result) : void in class org.apache.hadoop.hbase.client.BatchScanResultCache | From | To | |
Rename Method private updateLastCell(result Result) : void renamed to private recordLastResult(result Result) : void in class org.apache.hadoop.hbase.client.AllowPartialScanResultCache | From | To | |
Rename Method package hasMoreCellsInRow() : boolean renamed to package mayHaveMoreCellsInRow() : boolean in class org.apache.hadoop.hbase.regionserver.ScannerContext | From | To | |
Rename Variable | 4 | ||
Rename Variable numberOfIndividualRows : int to numberOfCompleteRows : int in method private onComplete(controller HBaseRpcController, resp ScanResponse) : void in class org.apache.hadoop.hbase.client.AsyncScanSingleRegionRpcRetryingCaller | From | To | |
Rename Variable rowLimitReached : boolean to resultsLimitReached : boolean in method private scan(controller HBaseRpcController, request ScanRequest, rsh RegionScannerHolder, maxQuotaResultSize long, maxResults int, limitOfRows int, results List<Result>, builder ScanResponse.Builder, lastBlock MutableObject, context RpcCallContext) : void in class org.apache.hadoop.hbase.regionserver.RSRpcServices | From | To | |
Rename Variable localNumberOfIndividualRows : int to localNumberOfCompleteRows : int in method public resume() : void in class org.apache.hadoop.hbase.client.AsyncScanSingleRegionRpcRetryingCaller.ScanResumerImpl | From | To | |
Rename Variable i : int to numOfResults : int in method private scan(controller HBaseRpcController, request ScanRequest, rsh RegionScannerHolder, maxQuotaResultSize long, maxResults int, limitOfRows int, results List<Result>, builder ScanResponse.Builder, lastBlock MutableObject, context RpcCallContext) : void in class org.apache.hadoop.hbase.regionserver.RSRpcServices | From | To | |
Change Return Type | 1 | ||
Change Return Type boolean to void in method private scan(controller HBaseRpcController, request ScanRequest, rsh RegionScannerHolder, maxQuotaResultSize long, maxResults int, limitOfRows int, results List<Result>, builder ScanResponse.Builder, lastBlock MutableObject, context RpcCallContext) : void in class org.apache.hadoop.hbase.regionserver.RSRpcServices | From | To | |
Merge Variable | 1 | ||
Merge Variable [moreResults : boolean, moreResultsInRegion : boolean] to builder : ScanResponse.Builder in method public scan(controller RpcController, request ScanRequest) : ScanResponse in class org.apache.hadoop.hbase.regionserver.RSRpcServices | From | To | |
Rename Attribute | 1 | ||
Rename Attribute numberOfIndividualRows : int to numberOfCompleteRows : int in class org.apache.hadoop.hbase.client.AsyncScanSingleRegionRpcRetryingCaller.ScanResumerImpl | From | To | |
Extract Method | 6 | ||
Extract Method private updateNumberOfCompleteResultsAndReturn(results Result...) : Result[] extracted from public addAndGet(results Result[], isHeartbeatMessage boolean) : Result[] in class org.apache.hadoop.hbase.client.CompleteScanResultCache | From | To | |
Rename Parameter | 2 | ||
Rename Parameter numIndividualRows : int to numberOfCompleteRows : int in method private completeOrNext(resp ScanResponse, numberOfCompleteRows int) : void in class org.apache.hadoop.hbase.client.AsyncScanSingleRegionRpcRetryingCaller | From | To | |
Rename Parameter numberOfIndividualRows : int to numberOfCompleteRows : int in method package prepare(resp ScanResponse, numberOfCompleteRows int) : boolean in class org.apache.hadoop.hbase.client.AsyncScanSingleRegionRpcRetryingCaller.ScanResumerImpl | From | To |